Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Retrieve a single received email

GET/emails/receiving/{email_id}Retrieve a single received email

Parameters

email_idstring · uuidpathrequired

The ID of the received email.

Responses

200OKapplication/json
objectGetReceivedEmailResponse
attachmentsarray of object

Array of attachments.

Show child attributes
Show array items
content_dispositionstring

How the attachment should be displayed.

one of "inline", "attachment"

content_idstring

The content ID for inline attachments.

content_typestring

The MIME type of the attachment.

filenamestring

The filename of the attachment.

idstring · uuid

The ID of the attachment.

sizeinteger

Size of the attachment in bytes.

bccarray of string

The BCC recipients.

Show child attributes
ccarray of string

The CC recipients.

Show child attributes
created_atstring · date-time

Timestamp when the email was received.

fromstring

The sender email address.

headersnull | object

The email headers.

htmlnull | string

The HTML content of the email.

idstring · uuid

The ID of the received email.

message_idstring

The unique message ID from the email headers.

objectstring

The type of object.

reply_toarray of string

The reply-to addresses.

Show child attributes
subjectstring

The email subject.

textnull | string

The plain text content of the email.

toarray of string

The recipient email addresses.

Show child attributes
Example response
{
  "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"
  ]
}
Documentation menu