Want an api end-point. | Community
Skip to main content

Want an api end-point.

  • January 12, 2022
  • 2 replies
  • 0 views

Neeraj12

I want an api endpoint which is solving the problem stated below:

I want to show those tickets/requests which are associated with particular email id and only those tickets will be shown whose status is opened.

2 replies

Eric27
  • January 12, 2022
Hey Neeraj,

You can accomplish by using the list requests endpoint and a filtering query. This endpoint is valuable if you'd like to have end-users be able to do this request. If you choose this one, make sure to read handle authorization at the top of the page. 

https://{{subdomain}}.zendesk.com/api/v2/requests.json?status=open

or you could use the search endpoint

https://{{subdomain}}.zendesk.com/api/v2/search.json?query=status:open requester:user@domain.com type:ticket

Hope this helps,

Neeraj12
  • Author
  • January 14, 2022

Thank You Eric Nelson,
Your answer working for me.