Skip to main content

GET /messages/:message_id/output

GEThttps://api.courier.com/messages/:message_id/output
Fetch the output of rendered events of a message you've previously sent.
PATH PARAMS
message_idstringrequired
A unique identifier associated with the message you wish to retrieve (results from a send).
Responses
AUTH TOKEN
curl --request GET \
--url https://api.courier.com/messages/1-5e2b2615-05efbb3acab9172f88dd3f6f/output \
--header 'Accept: application/json'
Response Example
{
"results": [
{
"channel": "email",
"channel_id": "channel-id-1",
"content": {
"html": "<div>Lorem Ipsum</div>",
"subject": "Hello World",
"text": "Lorem Ipsum",
"blocks": [
{
"type": "text",
"text": "Lorem ipsum dolor, sit amet."
}
]
}
}
]
}

Example

Method: GET

URL: https://api.courier.com/messages/1-5e2b2615-05efbb3acab9172f88dd3f6f/output