Recent searches


No recent searches

Anyone know how to get the message-id for a bunch of tickets?

Answered


Posted May 10, 2022

I'm looking for a simple way to retrieve the message-id from 40 tickets. It looks like this is not included in any of the API endpoints I have checked. I really do not want to have to open up each ticket, open the original version, switch to source, hunt through it, and copy this out manually by hand. Is there any other alternative ways to get at this data? 


1

7

7 comments

image avatar

ZZ Graeme Carmichael

Community Moderator

I do not believe the message-id is available from the API. This is the code in an email that lets Zendesk link to the original ticket?

Just curious why you would need it?

0


There's two reasons I can think of off the top of my head: 

1.  You are troubleshooting why ticket replies are not matching up to the original tickets. 

2. You need to confirm what emails, or retrieve emails that did not make it into Zendesk. 

0


image avatar

Dion

Zendesk Customer Care

Hi CJ,

The API endpoint that returns the Message-ID is the Ticket Audits endpoint and you can check that here:

https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_audits/#list-audits-for-a-ticket 

It will show you the message-id for the incoming emails.

Hope this helps!

Dion

-1


Hi Don

I pulled up a list of audits, and I pulled up a specific audit, and I am just not seeing Message-ID. I too would find the ability to capture the Message-ID extremely helpful, but I am just not seeing it in the audits. 

Can you clarify where / how to pull the Message-ID?

Thanks!

- CJ

0


image avatar

Brett Bowser

Zendesk Community Manager

Hey Chris,
 
The only way to see the message ID is by viewing the HTML and original email as mentioned in this article: https://support.zendesk.com/hc/en-us/articles/4408832876442
 
I'd recommend creating a feedback post in our Feedback - Ticketing System (Support) topic for our product managers to view since they're actively monitoring that topic.
 
I hope this helps!

0


HI I am trying to achieve the same thing. 2 years on and getting message-ID's from the API or querying a ticket is not available?
As CJ mentioned tracking inbound tickets is vital. 
I need this feature to be able to link up with my ERP and order processor modules. The context switching going on is currently too much and it really limits using Ultimate to its full potential, potentially blocking the purchase.  

0


image avatar

Christine

Zendesk Engineering

Hi Danny,
 
You can use the Ticket Comments API to get the ticket comments. This will include the message body and useful metadata like the sender/recipient addresses and message ID.
 
Hope this helps!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post