Skip to main content
GET
/
v1
/
inbound
/
{id}
Retrieve Received Email
curl --request GET \
  --url https://api.example.com/v1/inbound/{id}
id
string
required
The ID of the inbound email to retrieve.

Request

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

Response

200
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "from": "[email protected]",
  "to": ["[email protected]"],
  "subject": "Re: Your inquiry",
  "text": "Thanks for reaching out...",
  "html": "<p>Thanks for reaching out...</p>",
  "attachments": [
    {
      "id": "att_123",
      "filename": "document.pdf",
      "content_type": "application/pdf",
      "size": 102400
    }
  ],
  "received_at": "2024-01-15T10:30:00.000Z"
}