Request API search by range date | Community
Skip to main content

Request API search by range date

  • February 23, 2023
  • 3 replies
  • 0 views

Carlos18

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

3 replies

Tipene
  • February 24, 2023
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

Carlos18
  • Author
  • February 28, 2023

Hi @tipene

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 ! 


Tipene
  • March 1, 2023

Glad to hear it :)

Have a great day!

Tipene