Get total response count

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

This API fetches the total number of responses sent/made by your agents.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
groupBystringKey that groups the thread 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
teamIdstringID(s) of the team(s) from which the 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;avg&quot;:&quot;0.0&quot;,&quot;groupedBy&quot;:&quot;date&quot;,&quot;totalResponseCount&quot;:&quot;0&quot;,&quot;responseCount&quot;:[{&quot;count&quot;:&quot;0&quot;,&quot;value&quot;:&quot;2018-04-06&quot;,&quot;referenceValue&quot;:null},{&quot;count&quot;:&quot;0&quot;,&quot;value&quot;:&quot;2018-04-07&quot;,&quot;referenceValue&quot;:null},{&quot;count&quot;:&quot;0&quot;,&quot;value&quot;:&quot;2018-04-08&quot;,&quot;referenceValue&quot;:null},{&quot;count&quot;:&quot;0&quot;,&quot;value&quot;:&quot;2018-04-09&quot;,&quot;referenceValue&quot;:null},{&quot;count&quot;:&quot;0&quot;,&quot;value&quot;:&quot;2018-04-10&quot;,&quot;referenceValue&quot;:null}]}