X-Message-ID

Rate this page:

The X-Message-ID is a header returned when sending email from SendGrid.

The following image depicts a typical response received after a message has been sent:

Example email send response

The X-Message-ID header is part of this response and can be used to track events that the Event Webhook posts.

When using the Event Webhook, it’s a best practice to store your X-Message-ID. X-Message-ID data helps with deduplications in your webhook data. It can be used to find all corresponding Message-IDs.

SendGrid recommends that users store this data to correlate to their Event Webhook data, and this data is very useful for Support troubleshooting.

Related articles

Rate this page:

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

thanks-feedback-gif