Limited results via the Zendesk API: ...api/v2/organizations = different results than with URL ...agent/organizations
Hi, with my tets, it seems the API/V2/ORGANIZATIONS... only provides the list of the tickets which have been updated for the last 4 months (120 days).
Is there a possibility to obtain the complete tickets (including the full statuses = Open, Pending, Solved, Closed with the complete requests even if they have been closed 6 months, 1 year, 2 years... ago) via this Zendesk API?
No specific details in the Zendesk article: https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/
Example on our account today (14 November 2022):
. Client 1:
= 9 tickets
= 55 tickets
. Client 2:
= 40 tickets --> last update for the last ticket which is taken into consideration in this result = 117 days = 20 July 2022. The next dated ticket, older, which has been last modified on 14th of July is not taken into consideration via this API request.
= 144 tickets --> the complete list of tickets for this Company for around one year and a half
Thanks in advance for your help, your clues, your expertise.
Hi Oliver! If you check the API documentation that we have for the List Tickets endpoint, you'll see that it says that we do not return archived tickets in that response. It also states that if you want to view all of the available tickets, you will want to use one of our incremental export options...I would personally recommend using cursor based pagination, as it is a more robust API to work with.
Read those articles:
I'm not convinced by the efficiency or the utility of these articles in our case.
After my reading, tested:
How can you obtain the result of the 'count ' via those URLs? Which other declarations/variables may I apply? Any clues? What is the correct syntax/URL with the correct amount of tickets?
My aim is to obtain the correct number of tickets for this organization (for example) https://neofi.zendesk.com/api/v2/organizations/382229815379/tickets or this one (another example): https://neofi.zendesk.com/api/v2/organizations/360033329779/tickets or another one: https://neofi.zendesk.com/api/v2/organizations/360038262500/tickets
Please sign in to leave a comment.