Get unresolved tickets count

GET {{baseUrl}}/api/v1/dashboards/backlogTickets?groupBy=<string> max chars : 100&duration=<String>

This API fetches the number of tickets that have remained unresolved over a particular period.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
groupBystringKey that groups the ticket count according to a particular attribute.This value can be date channel agent
departmentIdstringID(s) of the department(s) from which the stats must be fetched
agentIdstringID(s) of the agent(s) whose stats must be fetched
durationstringPredefined time range from which the stats must be fetched
startDatestringStarting date for defining custom time range
endDatestringEnding date for defining custom time range
channelstringChannel through which the tickets were received

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;totalTicketCount&quot;:&quot;102&quot;,&quot;ticketCount&quot;:[{&quot;count&quot;:&quot;54&quot;,&quot;value&quot;:&quot;Unassigned&quot;,&quot;referenceValue&quot;:null},{&quot;count&quot;:&quot;48&quot;,&quot;value&quot;:&quot;Priyanka&quot;,&quot;referenceValue&quot;:&quot;4000000012629&quot;}],&quot;avg&quot;:&quot;51.0&quot;}