List Messages

GET {{baseUrl}}/admin/courier/messages?page_size=250&page_token=<string>&status=processing&recipient=<string>

Lists all messages by given status and recipient.

Request Params

KeyDatatypeRequiredDescription
page_sizenumberItems per Page

This is the number of items per page to return. For details on pagination please head over to the pagination documentation. | | page_token | string | | Next Page Token

The next page token. For details on pagination please head over to the pagination documentation. | | status | string | | Status filters out messages based on status. If no value is provided, it doesn't take effect on filter. | | recipient | string | | Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;status&quot;:&quot;processing&quot;,&quot;type&quot;:&quot;email&quot;,&quot;recipient&quot;:&quot;\u003cstring\u003e&quot;,&quot;body&quot;:&quot;\u003cstring\u003e&quot;,&quot;subject&quot;:&quot;\u003cstring\u003e&quot;,&quot;template_type&quot;:&quot;login_code_valid&quot;,&quot;send_count&quot;:&quot;\u003clong\u003e&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;dispatches&quot;:[{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;message_id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;status&quot;:&quot;success&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;error&quot;:{}},{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;message_id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;status&quot;:&quot;success&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;error&quot;:{}}]},{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;status&quot;:&quot;abandoned&quot;,&quot;type&quot;:&quot;phone&quot;,&quot;recipient&quot;:&quot;\u003cstring\u003e&quot;,&quot;body&quot;:&quot;\u003cstring\u003e&quot;,&quot;subject&quot;:&quot;\u003cstring\u003e&quot;,&quot;template_type&quot;:&quot;recovery_valid&quot;,&quot;send_count&quot;:&quot;\u003clong\u003e&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;dispatches&quot;:[{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;message_id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;status&quot;:&quot;success&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;error&quot;:{}},{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;message_id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;status&quot;:&quot;success&quot;,&quot;created_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;error&quot;:{}}]}]