Is it possible to pull the source email address via api?

6 Comments

  • Graeme Carmichael
    Community Moderator

    Tyler

    You can certainly access all a user's email addresses using the API.

    See the documentation here under user identities. The primary address is normally the address that Zendesk delivers to.

    To find the requester's email address that they initially sent the request from, you may find that in the ticket VIA object. But I must confess that is not something I have tried to do.

    It will be a little tricky using a target as first you would have to find the request via the API, find the VIA object there and then find the email address from the VIA object. Unfortunately, I cannot do that for you, but maybe a starter for you.

     

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey there,

    Thanks for the feedback, I agree this is certainly not ideal. I'm circling back with product to find out if we have this listed for fixing on the roadmap. Stay tuned!
    0
  • Tyler Comfort

    Graeme Carmichael Thanks!  Unfortunately it appears the VIA api still shows the primary email, not the one used to send.  I just tested it out.  

     

    0
  • Graeme Carmichael
    Community Moderator

    Tyler

    Thanks for testing. Looks like it is a product limitation. 

    0
  • María Valeria Molina

    I have the same problem.
    It's extremely important for my project, to get that information.
    Unfortunately, this lack will lead to limitations and bad experiences with my users.
    It is very important for me to solve this problem.

    0
  • Wilhelm Lenz

    Hello, I would like to use a self-developed support app to query the source email address of the requester from within a ticket. Could this problem be solved already? I can access the identities of the end user and get a sub email address. But I need the source to compare this with the primary email address. I want to send emails to the source email address when it does not match the primary email address of the end user.

    Can someone please help me with this? Even if it just means it doesn't work.

    0

Please sign in to leave a comment.

Powered by Zendesk