List response times

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

This API lists the durations taken to respond to tickets.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
groupBystringKey that groups stats according to a specific attribute: date, channel, agent, or hour
isFirstResponsestringKey that specifies if the response is the first response to the customer question
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;totalAvgAgentTime&quot;:&quot;41:50 hrs&quot;,&quot;timeData&quot;:[{&quot;avgSystemTime&quot;:&quot;00:00 hrs&quot;,&quot;avgAgentTime&quot;:&quot;00:00 hrs&quot;,&quot;responseCount&quot;:&quot;0&quot;,&quot;value&quot;:&quot;Feedback Widget&quot;,&quot;referenceValue&quot;:null},{&quot;avgSystemTime&quot;:&quot;00:00 hrs&quot;,&quot;avgAgentTime&quot;:&quot;00:00 hrs&quot;,&quot;responseCount&quot;:&quot;0&quot;,&quot;value&quot;:&quot;Email&quot;,&quot;referenceValue&quot;:null},{&quot;avgSystemTime&quot;:&quot;00:00 hrs&quot;,&quot;avgAgentTime&quot;:&quot;00:00 hrs&quot;,&quot;responseCount&quot;:&quot;0&quot;,&quot;value&quot;:&quot;Web&quot;,&quot;referenceValue&quot;:null},{&quot;avgSystemTime&quot;:&quot;41:50 hrs&quot;,&quot;avgAgentTime&quot;:&quot;41:50 hrs&quot;,&quot;responseCount&quot;:&quot;1&quot;,&quot;value&quot;:&quot;Phone&quot;,&quot;referenceValue&quot;:null},{&quot;avgSystemTime&quot;:&quot;00:00 hrs&quot;,&quot;avgAgentTime&quot;:&quot;00:00 hrs&quot;,&quot;responseCount&quot;:&quot;0&quot;,&quot;value&quot;:&quot;Forums&quot;,&quot;referenceValue&quot;:null},{&quot;avgSystemTime&quot;:&quot;00:00 hrs&quot;,&quot;avgAgentTime&quot;:&quot;00:00 hrs&quot;,&quot;responseCount&quot;:&quot;0&quot;,&quot;value&quot;:&quot;Chat&quot;,&quot;referenceValue&quot;:null},{&quot;avgSystemTime&quot;:&quot;00:00 hrs&quot;,&quot;avgAgentTime&quot;:&quot;00:00 hrs&quot;,&quot;responseCount&quot;:&quot;0&quot;,&quot;value&quot;:&quot;Twitter&quot;,&quot;referenceValue&quot;:null},{&quot;avgSystemTime&quot;:&quot;00:00 hrs&quot;,&quot;avgAgentTime&quot;:&quot;00:00 hrs&quot;,&quot;responseCount&quot;:&quot;0&quot;,&quot;value&quot;:&quot;Facebook&quot;,&quot;referenceValue&quot;:null}],&quot;totalAvgSystemTime&quot;:&quot;41:50 hrs&quot;,&quot;groupedBy&quot;:&quot;channel&quot;,&quot;totalResponseCount&quot;:&quot;1&quot;}