GET
/
v1
/
emails
curl --request GET \
  --url https://app.unsend.dev/api/v1/emails
{
  "data": [
    {
      "id": "<string>",
      "to": "<string>",
      "replyTo": "<string>",
      "cc": "<string>",
      "bcc": "<string>",
      "from": "<string>",
      "subject": "<string>",
      "html": "<string>",
      "text": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "latestStatus": "SCHEDULED",
      "scheduledAt": "2023-11-07T05:31:56Z",
      "domainId": 123
    }
  ],
  "count": 123
}

Query Parameters

page
string
default:1
Example:

"1"

limit
string
default:50
Example:

"50"

startDate
string
Example:

"2024-01-01T00:00:00Z"

endDate
string
Example:

"2024-01-31T23:59:59Z"

domainId
Example:

"123"

Response

200 - application/json

Retrieve a list of emails

The response is of type object.