Emails

Retrieve a single email

get/emails/{email_id}

Path parameters

email_idstring required

The ID of the email.

Response

OK

objectstring

The type of object.

idstring

The ID of the email.

message_idstring

The Message-ID header value of the email.

tostring[]
fromstring

The email address of the sender.

created_atstring

The date and time the email was created.

subjectstring

The subject line of the email.

htmlstring

The HTML body of the email.

textstring

The plain text body of the email.

bccstring[]

The email addresses of the blind carbon copy recipients.

ccstring[]

The email addresses of the carbon copy recipients.

reply_tostring[]

The email addresses to which replies should be sent.

last_event'bounced' | 'canceled' | 'clicked' | 'complained' | 'delivered' | 'delivery_delayed' | 'failed' | 'opened' | 'queued' | 'scheduled' | 'sent' | 'suppressed'

The status of the email.

Example response

{
  "object": "email",
  "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
  "message_id": "<202301010000.4ef9a417@email.example.com>",
  "to": [
    "delivered@resend.dev"
  ],
  "from": "Acme <onboarding@resend.dev>",
  "created_at": "2023-04-03 22:13:42.674981+00",
  "subject": "Hello World",
  "html": "Congrats on sending your <strong>first email</strong>!",
  "last_event": "delivered"
}

Changes