List Messages
GET/admin/courier/messages
Lists all messages by given status and recipient.
SDK ReferenceTypeScript
listCourierMessages()| Parameters | Type | Required | Description |
|---|---|---|---|
| pageSize | number | optional | Items per Page This is the number of items per page to return. For details on pagination please head over to the pagination documentation. |
| pageToken | string | optional | Next Page Token The next page token. For details on pagination please head over to the pagination documentation. |
| status | CourierMessageStatus | optional | Status filters out messages based on status. If no value is provided, it doesn't take effect on filter. |
| recipient | string | optional | Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter. |
| Variable | Type |
|---|---|
| data | Array<Message> |