Recent searches


No recent searches

Request API search by range date



Posted Feb 23, 2023

Is there any way to search the request API (https://developer.zendesk.com/api-reference/ticketing/tickets/ticket-requests/) by range date ?  The idea is to only return a collection of requests that are between two dates.

Is this possible ? thank you


0

3

3 comments

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi Carlos,
 
You can use the Search Requests endpoint to specify a date range using support placeholders. Here's a link to the support search reference which has information about searching with date ranges:
 
Searching with a date/time range
 
I hope this helps!
 
Tipene

1


Hi Tipene Hughes

Thank you for the reply. I double checked the query it worked :) 

Example: /api/v2/requests/search.json?query=created>2023-02-01 created<2023-02-03

Appreciated ! 

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Glad to hear it :)

Have a great day!

Tipene

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post