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.
Solved
Extract Reply-to Email from ticket using API
Best answer by jclark
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

