List ticket tags

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

This API lists the ticket tags added in your help desk portal.�

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
departmentIdstringID of the department from which the tags must be fetched
sortBystringKey that sorts tags by a specific attribute: createdTime or count. The default sorting order is descending.
fromstringIndex number, starting from which the tags must be fetched
limitstringNumber of tags to fetch

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;ticketCount&quot;:&quot;10&quot;,&quot;name&quot;:&quot;sample&quot;,&quot;tagType&quot;:&quot;MANUAL&quot;,&quot;id&quot;:&quot;12312312312&quot;},{&quot;ticketCount&quot;:&quot;0&quot;,&quot;name&quot;:&quot;sample&quot;,&quot;tagType&quot;:&quot;MANUAL&quot;,&quot;id&quot;:&quot;12312312312&quot;}]}