Get ticket metrics

GET {{baseUrl}}/api/v1/tickets/([0-9]+)/metrics

This API fetches details related to the response and resolution times of a ticket.

OAuth Scope

  • Desk.tickets.READ

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"firstResponseTime":"01:50 hrs","reassignCount":1,"outgoingCount":2,"threadCount":2,"totalResponseTime":"02:50 hrs","responseCount":1,"agentsHandled":[{"agentId":4000000012629,"avgHandlingTime":"00:50 hrs","agentName":"XXX"},{"agentId":4000000080003,"avgHandlingTime":"01:50 hrs","agentName":"YYY"}],"resolutionTime":"02:50 hrs","stagingData":[{"handledTime":"01:50 hrs","status":"Open"},{"handledTime":"00:50 hrs","status":"onhold"}],"reopenCount":0}