List Emails

List transactional API emails, newest first.

MethodGET
/api/v2/emails

Lists transactional emails created through the API, newest first. Campaign sends and test emails are excluded (campaignId null, isTest false). Permission: emails.

List rows are metadata plus last_event. They do not include html, text, or tags. Fetch the body with Get Email.

Query Parameters

NameTypeDescription
limitintegerPage size. Default 20. Min 1, max 100.
afterstringReturn emails older than this id (next page, walking backward in time).
beforestringReturn emails newer than this id.

Pass after or before, not both. The cursor must be an email id that exists in this organization.

Response Fields

FieldTypeDescription
object"list"Discriminator. Always list.
has_morebooleantrue when another page exists in the same direction.
dataarrayEmail objects, newest first. Same fields as Get Email except object, html, text, and tags.

last_event uses the same mapping as Get Email.

Errors

StatusnameWhen
401missing_api_keyMissing or invalid bearer token
403validation_errorToken lacks the emails permission
422validation_errorBoth after and before, or cursor id not found