Recent searches
No recent searches
Get Closed tickets via Guide API
Posted Jun 15, 2023
Hi,
Im currently trying to get the data from fields/custom_fields using the /api/v2/requests/search api endpoint, however, the data seems to be null only for closed tickets. If I used the endpoint /api/v2/requests/ I get all the info including close ticket fields. Any reason why is this happening ?
Thank you
0
3
3 comments
Erica Girges
I assume you meant the Ticketing Search API and not the Guide one as that would only return article and community post data. (But please correct me if I'm wrong.) You will find that with some of our endpoints such as the Ticketing Search API specific closed ticket data isn't included. This is just to meant to help streamline the data returned from this endpoint. As a whole though this API isn't meant to extract multiple or large amounts of data. If you are looking to do that, I would recommend looking into using the Incremental Exports API. You can set it up to automatically retrieve the desired data for you once the ticket status is closed or any other determining ticket updates/changes.
All the best!
0
Carlos
Hi Erica,
Thank you for the response. I meant the Request API since we are dealing with end_users https://developer.zendesk.com/api-reference/ticketing/tickets/ticket-requests/, we are using the following endpoint:
GET /api/v2/requests/search
Is there any way we could get data from closed tickets ?
0
Erica Girges
0