List Messages
Changed onLists all messages by given status and recipient.
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/admin/courier/messages
- AuthAPI key in header Authorization
Query parameters
Items per Page
This is the number of items per page to return. For details on pagination please head over to the pagination documentation.
Next Page Token
The next page token. For details on pagination please head over to the pagination documentation.
A Message's Status
Status filters out messages based on status. If no value is provided, it doesn't take effect on filter.
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"
}
]Changes
- warning
added the new
login_code_validenum value to the/response property for the response status - warning
added the new
registration_code_validenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
removed the
otpenum value from the/response property for the response status
- warning
- warning
deleted the
queryrequest parameterpage - warning
deleted the
queryrequest parameterper_page - info
added the new optional
queryrequest parameterpage_size - info
added the new optional
queryrequest parameterpage_token - info
added the optional property
/to the response with the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status
- warning