v1
latestOpenAPI 3.0.3Apache 2.02026-07-1756158355.3 KBcourier
List Messages
Lists all messages by given status and recipient.
get/admin/courier/messages
Query parameters
page_sizeinteger
Items per Page
This is the number of items per page to return. For details on pagination please head over to the pagination documentation.
page_tokenstring
Next Page Token
The next page token. For details on pagination please head over to the pagination documentation.
status'queued' | 'sent' | 'processing' | 'abandoned'
A Message's Status
Status filters out messages based on status. If no value is provided, it doesn't take effect on filter.
recipientstring
Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter.
Response
Paginated Courier Message List Response
Example response
[
{
"dispatches": [
{
"updated_at": "2000-01-23T04:56:07.000+00:00",
"created_at": "2000-01-23T04:56:07.000+00:00",
"message_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"error": "{}",
"status": "failed"
},
{
"updated_at": "2000-01-23T04:56:07.000+00:00",
"created_at": "2000-01-23T04:56:07.000+00:00",
"message_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"error": "{}",
"status": "failed"
}
],
"updated_at": "2000-01-23T04:56:07.000+00:00",
"subject": "subject",
"channel": "channel",
"recipient": "recipient",
"created_at": "2000-01-23T04:56:07.000+00:00",
"send_count": 0,
"template_type": "recovery_invalid",
"id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"body": "body",
"type": "email",
"status": "queued"
}
]