I’m retrieving data from the Freshdesk API, but I’m having trouble finding the correct field in this column. When I try to EXPORT a CSV file through Freshdesk, the data is displayed correctly. I want to retrieve it via API get.
|First response time (in hrs)
|Resolution time (in hrs)
|First response status
You can use the View a Ticket API and include the stats parameter:
curl -v -u yourapikey:X -H "Content-Type: application/json" -X GET 'https://domain.freshdesk.com/api/v2/tickets/20?include=stats'
Will return the ticket’s closed_at, resolved_at and first_responded_at time
For interactions you need to add the “conversations” parameter:
Will return up to ten conversations sorted by “created_at” in ascending order. Including conversations will consume two API calls. In order to access more than ten conversations belonging to a ticket, use the List All Conversations of a Ticket API.