Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Messages
Get message content
GET
/
messages
/
{message_id}
/
output
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/messages/{message_id}/output \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"results": [
{
"channel": "<string>",
"channel_id": "<string>",
"content": {
"html": "<string>",
"title": "<string>",
"body": "<string>",
"subject": "<string>",
"text": "<string>",
"blocks": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
A unique identifier associated with the message you wish to retrieve (results from a send).
Response
200
application/json
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/messages/{message_id}/output \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"results": [
{
"channel": "<string>",
"channel_id": "<string>",
"content": {
"html": "<string>",
"title": "<string>",
"body": "<string>",
"subject": "<string>",
"text": "<string>",
"blocks": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.