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
}
}
]
}Changes
Changed in 8 of the 99 revisions of this API.31916
- ●
added the new
expiredenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
gw_rejectenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
injection_timeoutenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
quarantine_expiredenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
quarantine_rejectedenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
quarantine_release_dispatchedenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
quarantine_releasedenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
quarantinedenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
scan_deferredenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
suppressedenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new optional
queryrequest parameterfilter[metadata]new-optional-request-parameter
- ○
added the new optional
queryrequest parameterfilter[tags]new-optional-request-parameter
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ○
added the required property
//to the response with the statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
10011enum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
domain_graduation_limit_exceededenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
added the new
daily_limit_exceededenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the required property
////to the response with the statusresponse-required-property-added
- ○
added the required property
////to the response with the statusresponse-required-property-added
- ○
added the required property
////to the response with the statusresponse-required-property-added
- ○
added the required property
////to the response with the statusresponse-required-property-added
- ○
added the required property
////to the response with the statusresponse-required-property-added
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ▲
- ●
added the new
recipient_suppressedenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
reputation_suspendedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ●
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ●
added the new
10027enum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
10036enum value to the//response property for the response statusresponse-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 111 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 99 revisions, 1 has no diff computed.