List all agentsTicketsCount

GET {{baseUrl}}/v1/agentsTicketsCount

This API returns the number of tickets assigned to multiple agents.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
departmentIdstringID of the department from which the ticket count must be fetched. To fetch ticket count of agents from all departments, pass the value allDepartments.
agentIdsstringIDs of the agents whose ticket count must be fetched

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"onholdCount":1,"agentId":"4000000008734","dueIn1HrCount":0,"overDueCount":2,"channel":["Mail","Phone"],"isOnline":true,"openCount":18},{"onholdCount":1,"agentId":"4000000056010","dueIn1HrCount":0,"overDueCount":0,"isOnline":false,"openCount":0}]}