Get an email
/emails/{id}The email, its status and last_event, and its timeline (sent, delivered, opened, clicked, bounced …, and cancelled). Opens marked "likely automatic" are probably a mail client or scanner, not a person. The body and headers are not returned (they are shown in the app).
Permission: emails:read · on the API key screen: Transactional email → Read access · All permissions
Path parameters
idstringrequiredThe id of the email.
Response
objectstringOne of:
emailAt most 2,000 characters.
idstringAt most 2,000 characters.
statusstringOne of:
scheduledqueuedsendingsentfailedcancelledAt most 2,000 characters.
last_eventstring | nullOne of:
sentdelivereddelivery_delayedbouncedcomplainedopenedclickedfailedsuppressedAt most 2,000 characters.
fromstringAt most 400 characters.
tostring[]At most 50 items.
ccstring[]At most 50 items.
bccstring[]At most 50 items.
reply_tostring[]At most 50 items.
subjectstringAt most 998 characters.
template_idstring | nullThe transactional template the email was rendered from (template_id on the send); null when it was sent with its own html / text.
At most 2,000 characters.
tagsobject[]At most 10 items.
Show propertiesHide properties
namestringrequiredLetters, digits, _ and -.
At least 1 characters. At most 64 characters.
valuestringrequiredLetters, digits, _ and -.
At least 1 characters. At most 256 characters.
attachmentsobject[]At most 10 items.
Show propertiesHide properties
filenamestringAt most 255 characters.
content_typestring | nullAt most 127 characters.
sizenumber
suppressedstring[]Recipients that were not sent to because the address is on the account's suppression list (a hard bounce, a complaint or a manual block).
At most 50 items.
errorstring | nullAt most 2,000 characters.
scheduled_atstring | nullAt most 2,000 characters.
sent_atstring | nullAt most 2,000 characters.
created_atstringAt most 2,000 characters.
eventsobject[]What happened to the email, oldest first (GET /emails/{id} only; empty in lists).
At most 200 items.
Show propertiesHide properties
typestringOne of:
sentdelivereddelivery_delayedbouncedcomplainedopenedclickedfailedsuppressedcancelledAt most 2,000 characters.
atstringAt most 2,000 characters.
detailstring | nullAt most 2,000 characters.