List mailbox messages
Returns a cursor-paginated list of messages for the authenticated mailbox. Requires a mailbox API key.
Authorizations
Sendmux API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.
Query Parameters
Pagination cursor — the next_cursor from the previous response.
Maximum results (default 50, max 100).
1 <= x <= 100Filter to messages in this folder ID.
Filter to messages in this thread ID.
Full-text search query across message fields.
Filter by sender email address or display name.
Filter by To recipient email address or display name.
Filter by CC recipient email address or display name.
Filter by BCC recipient email address or display name.
Filter by subject text.
Filter by message body text.
Header name to match with header_value.
Header value to match with header_name.
Minimum message size in bytes.
x >= 0Maximum message size in bytes.
x >= 0Require this message keyword, such as $seen.
Exclude messages with this keyword.
Filter to messages after this ISO 8601 timestamp.
Filter to messages before this ISO 8601 timestamp.
When true, only return messages with attachments.
When true, only return unread messages.
Message field to sort by.
received_at, sent_at, subject, from, to, size_bytes Sort direction.
asc, desc Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox.