Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Messages
Get message
Fetch the status of a message you’ve previously sent.
GET
/
messages
/
{message_id}
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/messages/{message_id} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"id": "<string>",
"status": "CANCELED",
"enqueued": 123,
"sent": 123,
"delivered": 123,
"opened": 123,
"clicked": 123,
"recipient": "<string>",
"event": "<string>",
"notification": "<string>",
"error": "<string>",
"reason": "FILTERED",
"providers": [
{}
]
}
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} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"id": "<string>",
"status": "CANCELED",
"enqueued": 123,
"sent": 123,
"delivered": 123,
"opened": 123,
"clicked": 123,
"recipient": "<string>",
"event": "<string>",
"notification": "<string>",
"error": "<string>",
"reason": "FILTERED",
"providers": [
{}
]
}
Assistant
Responses are generated using AI and may contain mistakes.