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
Key | Datatype | Required | Description |
---|---|---|---|
groupBy | string | Key that groups stats according to a specific attribute: date, channel, agent, or hour | |
isFirstResponse | string | Key that specifies if the response is the first response to the customer question | |
departmentId | string | ID(s) of the department(s) from which the stats must be fetched | |
agentId | string | ID(s) of the agent(s) whose stats must be fetched | |
teamId | string | ID(s) of the team(s) from which the stats must be fetched | |
duration | string | Predefined time range from which the stats must be fetched | |
startDate | string | Starting date for defining custom time range | |
endDate | string | Ending date for defining custom time range | |
channel | string | Channel through which the tickets were received |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"totalAvgAgentTime":"41:50 hrs","timeData":[{"avgSystemTime":"00:00 hrs","avgAgentTime":"00:00 hrs","responseCount":"0","value":"Feedback Widget","referenceValue":null},{"avgSystemTime":"00:00 hrs","avgAgentTime":"00:00 hrs","responseCount":"0","value":"Email","referenceValue":null},{"avgSystemTime":"00:00 hrs","avgAgentTime":"00:00 hrs","responseCount":"0","value":"Web","referenceValue":null},{"avgSystemTime":"41:50 hrs","avgAgentTime":"41:50 hrs","responseCount":"1","value":"Phone","referenceValue":null},{"avgSystemTime":"00:00 hrs","avgAgentTime":"00:00 hrs","responseCount":"0","value":"Forums","referenceValue":null},{"avgSystemTime":"00:00 hrs","avgAgentTime":"00:00 hrs","responseCount":"0","value":"Chat","referenceValue":null},{"avgSystemTime":"00:00 hrs","avgAgentTime":"00:00 hrs","responseCount":"0","value":"Twitter","referenceValue":null},{"avgSystemTime":"00:00 hrs","avgAgentTime":"00:00 hrs","responseCount":"0","value":"Facebook","referenceValue":null}],"totalAvgSystemTime":"41:50 hrs","groupedBy":"channel","totalResponseCount":"1"}