Skip to main content
GET
/
emails
/
{id}
Retrieve Email
curl --request GET \
  --url https://api.unosend.co/emails/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "from": "<string>",
  "to": [
    "<string>"
  ],
  "subject": "<string>",
  "html": "<string>",
  "status": "<string>",
  "created_at": "<string>",
  "delivered_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.unosend.co/llms.txt

Use this file to discover all available pages before exploring further.

id
string
required
The ID of the email to retrieve.

Request

curl https://api.unosend.co/emails/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer un_xxxxxxxxxx"

Response

200
{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "from": "hello@yourdomain.com",
    "to": ["user@example.com"],
    "subject": "Hello World",
    "html": "<h1>Welcome!</h1>",
    "status": "delivered",
    "created_at": "2024-01-15T10:30:00.000Z",
    "delivered_at": "2024-01-15T10:30:05.000Z"
  }
}
id
string
Unique email identifier.
from
string
Sender email address.
to
string[]
Recipient email addresses.
subject
string
Email subject line.
html
string
HTML content of the email.
status
string
Delivery status: queued, sent, delivered, bounced, complained.
created_at
string
When the email was created (ISO 8601).
delivered_at
string
When the email was delivered (ISO 8601). null if not yet delivered.