Zendesk Search API
Answered
Posted Jun 23, 2022
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
0
2
2 comments
Neil MacColl
Hi Ahmed,
Do you perhaps know why this doesn't work with phone numbers?
0
Neil MacColl
Hi Ahmed,
Thank you. This now works! appreciate the support.
0
Sign in to leave a comment.