Messages
Get a message
Changed onReturn a information about, and metrics for, a delivery—the instance of a message intended for an individual recipient person.
get/v1/messages/{message_id}
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/messages/{message_id}
- AuthHTTP bearer
Response
Returns a message object.
Example response
{
"message": {
"id": "ag1q6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek=",
"deduplicate_id": "ag1q6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek=:1619137768",
"msg_template_id": 43,
"action_id": 215,
"parent_action_id": null,
"customer_id": null,
"recipient": "person@example.com",
"subject": "Did you get that thing I sent you?",
"metrics": {
"delivered": 1619137768,
"sent": 1619137768
},
"created": 1619137767,
"failure_message": null,
"newsletter_id": null,
"content_id": null,
"campaign_id": 23,
"broadcast_id": null,
"trigger_event_id": null,
"type": "email",
"forgotten": false
}
}Changes
- info
added the media type
application/jsonfor the response with the status
- info