Create skill

POST {{baseUrl}}/api/v1/skills

This API Creates a skill

OAuth Scope

  • Desk.settings.CREATE

Attributes

Attribute NameData TypeDescription
name (required)<String>
Name of the skill
description<String>
description of the skill
status (required)<String>
Values allowed are ACTIVE and INACTIVE
skillTypeId (required)<long>
ID of the Skill Type
criteria (required)<list>
The criteria details for the skill
agentIds<list>
IDs of the agents mapped with the skill

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;modifiedTime&quot;:&quot;2020-07-23T12:44:42.574Z&quot;,&quot;agentIds&quot;:[],&quot;skillType&quot;:{&quot;skillTypeId&quot;:&quot;1000000173001&quot;,&quot;skillTypeName&quot;:&quot;Country&quot;},&quot;orderId&quot;:&quot;1&quot;,&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;displayValue&quot;:[&quot;India&quot;],&quot;condition&quot;:&quot;is&quot;,&quot;fieldName&quot;:&quot;Subject&quot;,&quot;fieldModule&quot;:&quot;tickets&quot;,&quot;value&quot;:[&quot;India&quot;]},{&quot;displayValue&quot;:[&quot;987532114&quot;],&quot;condition&quot;:&quot;is&quot;,&quot;fieldName&quot;:&quot;Phone&quot;,&quot;fieldModule&quot;:&quot;tickets&quot;,&quot;value&quot;:[&quot;987532114&quot;]}],&quot;pattern&quot;:&quot;(1or2)&quot;},&quot;departmentId&quot;:&quot;1000000013248&quot;,&quot;description&quot;:&quot;Country is India&quot;,&quot;skillTypeId&quot;:&quot;1000000173001&quot;,&quot;createdBy&quot;:&quot;1000000000059&quot;,&quot;name&quot;:&quot;India&quot;,&quot;createdTime&quot;:&quot;2020-07-23T12:44:42.574Z&quot;,&quot;modifiedBy&quot;:&quot;1000000000059&quot;,&quot;id&quot;:&quot;1000000173029&quot;,&quot;status&quot;:&quot;ACTIVE&quot;}