List all skills

GET {{baseUrl}}/api/v1/skills?departmentId=<long>

This API lists all skills in a department

OAuth Scope

  • Desk.settings.READ

Request Params

KeyDatatypeRequiredDescription
departmentIdstringDepartment Id
fromstringIndex number, starting from which the skills must be listed
limitstringNumber of skill to list, allowed minimum value 1, maximum value 100,default is 100
statusstringActive inactive filter for Skills. Values allowed are ACTIVE and INACTIVE
searchStringstringSearch string, Used to filter skills by name starting with this string
skillTypeIdstringSkill Type Id, to Filter Skills by SkillType

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&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;},{&quot;modifiedTime&quot;:&quot;2020-07-23T13:03:12.994Z&quot;,&quot;agentIds&quot;:[&quot;1000000000059&quot;],&quot;skillType&quot;:{&quot;skillTypeId&quot;:&quot;1000000173001&quot;,&quot;skillTypeName&quot;:&quot;Country&quot;},&quot;orderId&quot;:&quot;2&quot;,&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;displayValue&quot;:[&quot;Russia&quot;],&quot;condition&quot;:&quot;is&quot;,&quot;fieldName&quot;:&quot;Subject&quot;,&quot;fieldModule&quot;:&quot;tickets&quot;,&quot;value&quot;:[&quot;Russia&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 Russia&quot;,&quot;skillTypeId&quot;:&quot;1000000173001&quot;,&quot;createdBy&quot;:&quot;1000000000059&quot;,&quot;name&quot;:&quot;Russia&quot;,&quot;createdTime&quot;:&quot;2020-07-23T13:03:12.994Z&quot;,&quot;modifiedBy&quot;:&quot;1000000000059&quot;,&quot;id&quot;:&quot;1000000173047&quot;,&quot;status&quot;:&quot;ACTIVE&quot;},{&quot;modifiedTime&quot;:&quot;2020-07-23T13:07:51.838Z&quot;,&quot;agentIds&quot;:[&quot;1000000000059&quot;],&quot;skillType&quot;:{&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;skillTypeName&quot;:&quot;Language&quot;},&quot;orderId&quot;:&quot;3&quot;,&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;displayValue&quot;:[&quot;English&quot;],&quot;condition&quot;:&quot;contains&quot;,&quot;fieldName&quot;:&quot;Subject&quot;,&quot;fieldModule&quot;:&quot;tickets&quot;,&quot;value&quot;:[&quot;English&quot;]}],&quot;pattern&quot;:&quot;1&quot;},&quot;departmentId&quot;:&quot;1000000013248&quot;,&quot;description&quot;:&quot;Language is English&quot;,&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;createdBy&quot;:&quot;1000000000059&quot;,&quot;name&quot;:&quot;English&quot;,&quot;createdTime&quot;:&quot;2020-07-23T13:07:51.838Z&quot;,&quot;modifiedBy&quot;:&quot;1000000000059&quot;,&quot;id&quot;:&quot;1000000173097&quot;,&quot;status&quot;:&quot;ACTIVE&quot;},{&quot;modifiedTime&quot;:&quot;2020-07-23T13:08:16.891Z&quot;,&quot;agentIds&quot;:[&quot;1000000000059&quot;],&quot;skillType&quot;:{&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;skillTypeName&quot;:&quot;Language&quot;},&quot;orderId&quot;:&quot;4&quot;,&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;displayValue&quot;:[&quot;Tamil&quot;],&quot;condition&quot;:&quot;contains&quot;,&quot;fieldName&quot;:&quot;Subject&quot;,&quot;fieldModule&quot;:&quot;tickets&quot;,&quot;value&quot;:[&quot;Tamil&quot;]}],&quot;pattern&quot;:&quot;1&quot;},&quot;departmentId&quot;:&quot;1000000013248&quot;,&quot;description&quot;:&quot;Language is Tamil&quot;,&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;createdBy&quot;:&quot;1000000000059&quot;,&quot;name&quot;:&quot;Tamil&quot;,&quot;createdTime&quot;:&quot;2020-07-23T13:08:16.891Z&quot;,&quot;modifiedBy&quot;:&quot;1000000000059&quot;,&quot;id&quot;:&quot;1000000173121&quot;,&quot;status&quot;:&quot;INACTIVE&quot;},{&quot;modifiedTime&quot;:&quot;2020-07-23T13:08:36.093Z&quot;,&quot;agentIds&quot;:[&quot;1000000000059&quot;],&quot;skillType&quot;:{&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;skillTypeName&quot;:&quot;Language&quot;},&quot;orderId&quot;:&quot;5&quot;,&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;displayValue&quot;:[&quot;Malayalam&quot;],&quot;condition&quot;:&quot;contains&quot;,&quot;fieldName&quot;:&quot;Subject&quot;,&quot;fieldModule&quot;:&quot;tickets&quot;,&quot;value&quot;:[&quot;Malayalam&quot;]}],&quot;pattern&quot;:&quot;1&quot;},&quot;departmentId&quot;:&quot;1000000013248&quot;,&quot;description&quot;:&quot;Malayali&quot;,&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;createdBy&quot;:&quot;1000000000059&quot;,&quot;name&quot;:&quot;Malayalam&quot;,&quot;createdTime&quot;:&quot;2020-07-23T13:08:36.093Z&quot;,&quot;modifiedBy&quot;:&quot;1000000000059&quot;,&quot;id&quot;:&quot;1000000173145&quot;,&quot;status&quot;:&quot;ACTIVE&quot;}]}