How to get a link for all user's tickets by email

2 Comments

  • Erica Girges
    Zendesk Developer Advocacy
    Hi Vitaly,
     
    You could definitely retrieve a user's tickets by their email address it would just take a little query work on your end but it can all be achieved using the Search API. You'll probably first want to use the API to retrieve their user id. 
     
    Once you have their id, you can use the Search API again to query for all tickets with the requester_id set the desired user id. This should return all tickets for that user.
     
    Here is the documentation for how to query and use this endpoint. 
     
    Hope this helps!
     
    Best,
     
    Erica
    0
  • Erica Girges
    Zendesk Developer Advocacy
    Hi Vitaly, 
     
    Unfortunately, there wouldn't be a way to auto generate a page showing all of the user's tickets. You would need to develop your own UI to display the returned data in a similar format. Even this specific url is unique to each user and isn't something any of our API's are meant to return. All data is typically returned in JSON. 
     
    It sounds like what you may be looking for could be easily done as a small app. Either one that lives internally in your Zendesk instance or just an external/local application with just html/css/javascript. 
     
    Hope this helps!
     
    Erica
    0

Please sign in to leave a comment.

Powered by Zendesk