Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Retrieve a list of emails

GET/emailsRetrieve a list of emails

Parameters

limitintegerquery

Number of items to return.

maximum 100 · minimum 1

afterstringquery

Return items after this cursor.

beforestringquery

Return items before this cursor.

Responses

200OKapplication/json
objectListEmailsResponse
dataarray of object

Array containing email information.

Show child attributes
Show array items
bccarray of string

The email addresses of the blind carbon copy recipients.

Show child attributes
ccarray of string

The email addresses of the carbon copy recipients.

Show child attributes
created_atstring · date-time

The date and time the email was created.

fromstring

The email address of the sender.

htmlstring

The HTML body of the email.

idstring

The ID of the email.

last_eventstring

The status of the email.

objectstring

The type of object.

reply_toarray of string

The email addresses to which replies should be sent.

Show child attributes
subjectstring

The subject line of the email.

textstring

The plain text body of the email.

toarray of string
Show child attributes
has_moreboolean

Indicates if there are more results available.

objectstring

Type of the response object.

Example response
{
  "data": [
    {
      "bcc": [
        "string"
      ],
      "cc": [
        "string"
      ],
      "created_at": "2023-04-03T22:13:42.674981+00:00",
      "from": "Acme <onboarding@resend.dev>",
      "html": "Congrats on sending your <strong>first email</strong>!",
      "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
      "last_event": "delivered",
      "object": "email",
      "reply_to": [
        "string"
      ],
      "subject": "Hello World",
      "text": "string",
      "to": [
        "delivered@resend.dev"
      ]
    }
  ],
  "has_more": false,
  "object": "list"
}
Documentation menu