Skip to main content

Is there a way I can extract the “replay-to email” from a ticket created using API.
Example:
Someone creates a ticket, I get an email where I can respond to and it creates a comment from the email response. Can I get that email address using API? I know I can get the address by just looking at the sender on my email but the API would make things way easier for a tool I am developing.

I tried the https://csd509j.incidentiq.com/api/v1.0/search but it doesn’t seem to provide the email I can use to create comments. 

I don’t believe so. In my experience, every email that is sent out has a different auto-generated email address. It would be nice if it were to match the GUID of the ticket ID, would make automations like this so much easier.


I lied… as soon as I commented, I had an idea.

Method: GET

{yoursite}/api/v1.0/notifications/emails/for/ticket/{TicketId}

I’m thinking there’s a delay after the ticket is created before an email is sent, may need to test that… however, you should be able to use any of the EmailId GUID values from any of the sent emails in your response, and add “@{yoursite}.incidentiq.com” to create your reply-to email address.


@FGonzalez 75081eb csd509j Thank you for submitting your question to our community! 😄 

Thanks ​@jclark for always jumping in on these kinds of questions. Your insight is always appreciated!! 


Thank you both!! That did the trick. 😀


Reply