Zendesk Search API | Community
Skip to main content

Zendesk Search API

  • June 23, 2022
  • 2 replies
  • 0 views

Hi There, I'm new to Zendesk and trying to figure out how to use the API's.

I'm currently using Postman to query the search API to provide all the tickets associated with a user based on email or telephone. I'm trying to present a screen pop showing all tickets for the user when they call/email in.

I have the following query:

https://{platform}.zendesk.com/api/v2/search?query=email:"user.email@gmail.com"&query=type:ticket status:open.

However, I receive all open tickets, not just for user.email@gmail.com. I'm sure this is a very basic mistake so please excuse my ignorance.

-N

2 replies

  • Author
  • June 23, 2022

Hi Ahmed,

 

Thank you. This now works! appreciate the support.


  • Author
  • June 23, 2022

Hi Ahmed,

 

Do you perhaps know why this doesn't work with phone numbers?