Emails

Retrieve a list of emails

get/emails

Query parameters

limitinteger

Number of items to return.

afterstring

Return items after this cursor.

beforestring

Return items before this cursor.

Response

OK

objectstring

Type of the response object.

has_moreboolean

Indicates if there are more results available.

Example response

{
  "object": "list",
  "data": [
    {
      "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