GET
/emails/receiving/{email_id}Retrieve a single received emailParameters
email_idstring · uuidpathrequiredThe ID of the received email.
Responses
objectGetReceivedEmailResponse
attachmentsarray of objectArray of attachments.
Show child attributes
Show array items
content_dispositionstringHow the attachment should be displayed.
content_idstringThe content ID for inline attachments.
content_typestringThe MIME type of the attachment.
filenamestringThe filename of the attachment.
idstring · uuidThe ID of the attachment.
sizeintegerSize of the attachment in bytes.
bccarray of stringThe BCC recipients.
Show child attributes
ccarray of stringThe CC recipients.
Show child attributes
created_atstring · date-timeTimestamp when the email was received.
fromstringThe sender email address.
headersnull | objectThe email headers.
htmlnull | stringThe HTML content of the email.
idstring · uuidThe ID of the received email.
message_idstringThe unique message ID from the email headers.
objectstringThe type of object.
reply_toarray of stringThe reply-to addresses.
Show child attributes
subjectstringThe email subject.
textnull | stringThe plain text content of the email.
toarray of stringThe recipient email addresses.
Show child attributes
{
"attachments": [
{
"content_disposition": "attachment",
"content_id": "string",
"content_type": "string",
"filename": "string",
"id": "00000000-0000-0000-0000-000000000000",
"size": 0
}
],
"bcc": [],
"cc": [],
"created_at": "2023-10-06:23:47:56.678Z",
"from": "sender@example.com",
"headers": {
"X-Custom-Header": "value"
},
"html": "<p>Email content</p>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"message_id": "<message-id@example.com>",
"object": "email",
"reply_to": [],
"subject": "Hello World",
"text": "Email content",
"to": [
"delivered@resend.dev"
]
}