You can use the get ticket API and add ?include=stats in the URL. It will give you the below data.
“stats”: {
“agent_responded_at”: null,
“requester_responded_at”: null,
“first_responded_at”: null,
“status_updated_at”: “2021-11-08T12:19:46Z”,
“reopened_at”: null,
“resolved_at”: null,
“closed_at”: null,
“pending_since”: null
}
These are the only stats available today. Resolution status is “status” of the ticket which would be 4 for resolved, 5 for closed.
If you add this ?include=conversations,stats then you will get the conversations and you will have to count agent and customer interactions.
Hope this helps.