Receiving
Retrieve a received email
GET
bearerheader
AuthorizationBearer <token>id*stringFormat
uuidhtml_format?stringdata_uri or cid; the answer's html_format says which was served (always
cid).
Success
application/json- response
One received email (object: "email", Resend's fields plus the exx extensions).
attachments*array<>authentication?|nullauthentication_results*ext: every result as verified (spf, each dkim signature, dmarc, arc).
bcc*array<string>cc*array<string>created_at*stringfrom*stringheaders*The sender's header fields by lower-case name (the values of a repeated field
joined by a line feed, in order); sender-supplied ReceivedAuthentication-Results left
out.
html?|Hostile content: never render it on a trusted origin.
html_format*stringAlways cid: inline images stay cid: references to the attachments.
id*stringFormat
uuidmessage_id?string|nullobject*stringquarantined*booleanext: held for staff review; its attachments and raw message open once released.
raw?|nullreceived_for*array<string>The addresses in the for clauses of the message's Received fields.
reply_to*array<string>spam_score*numberext: the content scanner's spam score.
Format
doublesubject*stringtext?string|nullto*array<string>curl -X GET 'https://api.exx.sh/emails/receiving/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "attachments": [ { "content_disposition": "string", "content_id": "string", "content_type": "string", "filename": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "size": 0 } ], "authentication": { "dkim": "string", "dmarc": "string", "spf": "string" }, "authentication_results": {}, "bcc": [ "string" ], "cc": [ "string" ], "created_at": "string", "from": "string", "headers": { "property1": "string", "property2": "string" }, "html": "string", "html_format": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "message_id": "string", "object": "string", "quarantined": true, "raw": { "download_url": "string", "expires_at": "string" }, "received_for": [ "string" ], "reply_to": [ "string" ], "spam_score": 0.1, "subject": "string", "text": "string", "to": [ "string" ]}