Get ticket count

GET {{baseUrl}}/api/v1/ticketsCount

This API returns the ticket count of your help desk.

OAuth Scope

  • Desk.search.READ
  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
departmentIdstringID of the department from which ticket count must be fetched. If you do not pass this parameter in the API request, ticket count across all departments will be returned. 
assigneeIdstringID of the agent assigned to resolve the ticket
contactIdstringID of the contact who raised the ticket
categorystringCategory of the ticket
customField1stringUser-defined field in the ticket
customField2stringUser-defined field in the ticket
customField3stringUser-defined field in the ticket
createdTimeRangestringKey that filters tickets created in a particular period of time. Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ; for example, createdTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z
modifiedTimeRangestringKey that filters tickets modified in a particular period of time. Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ; for example, modifiedTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"count":200}