Search Messages
Search for messages based on the specified criteria.
Authentication
AuthorizationBasic
Basic authentication of the form Basic <account_id:auth_token>.
OR
AuthorizationBasic
Basic authentication of the form Basic <api_key:api_key_secret>.
Query parameters
pageToken
The token to retrieve the next page of results.
pageSize
The number of resources to return in a page.
Request
This endpoint expects an object.
operationId
Filter Messages by Operation ID.
sessionId
Filter Messages by Session ID.
startDate
Filter to Messages created after the specified date and time.
endDate
Filter to Messages created before the specified date and time.
profile
Filter Messages sent or received by Profile ID.
address
Filter Messages sent or received from an address.
channel
Filter Messages by channel.
Allowed values:
status
Filter Messages by Delivery Status.
Response
OK
messages
A list of Messages.
pagination
Metadata for paginated results.
This object contains two tokens to navigate through paginated results.
- Use `next` to retrieve the 'next' page in the result list.
- Use `self` to retrieve the same page of the result list again.
- Supply the token in the `pageToken` query param.