Retrieve an email
Retrieve one accepted message by id, including its rendered bodies.
GET
Retrieve one accepted message by id, including its rendered bodies. The detail shape has no status field — last_event mirrors the lifecycle, falling back to the status when no SES event has applied yet. Lookups are scoped by organization and environment and bounded by the retention floor; an unknown, cross-org, wrong-environment, or past-retention id returns 404. Requires the send or read:emails scope.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
idstringrequired
The message id (a bare 26-character ULID, no prefix).
Response
application/json
The email detail.
object"email"requiredAllowed values:
"email"idstringrequiredtoarray<string>requiredfromstringrequiredcreated_atstring<date-time>requiredsubjectstringhtmlstringtextstringccarray<string>requiredbccarray<string>requiredreply_toarray<string>requiredlast_eventstringrequiredscheduled_atstring<date-time>tagsarray<object>requiredtags.namestringrequiredTag name; must match `[A-Za-z0-9_-]+`.
tags.valuestringrequiredTag value; must match `[A-Za-z0-9_-]+`.