Recent searches


No recent searches

Getting only list of tickets that were closed by yesterday



Posted Sep 20, 2021

Dear Expert,

I would like to get all the closed tickets by yesterday via API. How I can achieve on that ?

Many thanks,


0

1

1 comment

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hey @...,

Thanks for reaching out!

It sounds like the Search API would be able to help you in this case. Here’s an example using the Search API to retrieve tickets that were updated with a status of closed yesterday (20 September 2021):

https://{subdomain}.zendesk.com/api/v2/search.json?query=updated:2021-09-20 status:closed

I’ve included a couple of links below which will give you a more in-depth explanation of how the Search API works and what it can be used for.

https://developer.zendesk.com/api-reference/ticketing/ticket-management/search/

https://support.zendesk.com/hc/en-us/articles/203663226

I hope this helps! Feel free to reach out if you have any questions.

Tipene

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post