Get account statistics
GET {{baseUrl}}/api/v1/accounts/([0-9]+)/statistics
This API fetches the overall statistics of an account.
OAuth Scope
Desk.contacts.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
departmentId | string | ID of the department from which the statistics must be fetched. If you do not pass this parameter in the API request, statistics from all permitted departments will be fetched. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"firstResponseTime":"120000","openTickets":"11","responseTime":"13150000","spamTickets":"0","totalTickets":"31","customerHappiness":{"badCount":"50","goodCount":"0","okCount":"50"},"closedTickets":"20","resolutionTime":"0","channelWiseCount":{"Web":"15","Forums":"15","Chat":"1"},"onholdTickets":"0","escalatedTickets":"0","overdueTickets":"0"}