Returns a list of messages for the account. Can be filtered by various parameters.
Query Parameters:
status
: Filter by comma-separated list of message statuses (any of ‘Received’, ‘Delivered’, ‘Deferred’, ‘Bounced’, ‘Failed’, ‘Suppressed’, ‘Sandbox Delivered’, ‘Sandbox Deferred’, ‘Sandbox Failed’, ‘Sandbox Bounced’, ‘Sandbox Suppressed’)sender
: Filter by sender email (must be from domain in API key scopes)recipient
: Filter by recipient emailsubject
: Filter by subject textmessage_id_header
: Filter by message ID header (same ID returned by CreateMessage API)from_time
: Filter messages created after this time (RFC3339 format)to_time
: Filter messages created before this time (RFC3339 format)limit
: Maximum number of items to return (1-100, default: 100)cursor
: Pagination cursor for the next pageAPI key for authentication
Account ID
Filter by comma-separated list of message statuses
Sender email address (must be from domain in API key scopes)
Recipient email address
Filter by subject text
Filter by message ID header (same ID returned by CreateMessage API)
Filter messages created after this time (RFC3339 format)
Filter messages created before this time (RFC3339 format)
Maximum number of items to return (1-100)
1 <= x <= 100
Pagination cursor for the next page
List of messages
The response is of type object
.