List email messages
Lists messages sorted newest first by created_at desc, id desc. Tags and metadata filters compose with cursor pagination. The legacy /v2/emails GET route is a backward-compatible alias for this operation.
Query parameters
Number of results to return. Defaults to 25; maximum is 100. Invalid values are clamped to the valid range.
Opaque URL-safe Base64 cursor returned by a previous list response.
Comma-separated tags. Each segment is trimmed, and messages having at least one supplied tag are returned; matching is exact and case-sensitive after trimming. Because commas delimit values and surrounding whitespace is removed, this filter cannot represent stored tags containing literal commas or leading/trailing whitespace. An empty value omits the filter. Empty segments and non-string/nested query shapes return HTTP 400.
Metadata containment filter, supplied as a JSON object or comma-separated key=value pairs. All supplied key/value pairs must be contained in the message metadata. An empty value or empty JSON object omits the filter. Malformed values, valid non-object JSON, pairs without =, empty keys, and non-string/nested query shapes return HTTP 400.
Response
Paginated list of email messages.
Example response
{
"data": [
{
"recipient_statuses": {
"delivered": 998,
"bounced": 2
}
}
]
}