Skip to main content

GET /inbound/:id

Returns a single inbound email with its full content and attachment download URLs.

Authentication

Bearer token (JWT or API key)

Path Parameters

ParameterTypeRequiredDescription
idstringYesInbound email ID

Response

{
  "data": {
    "email": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "domain_id": "...",
      "from_email": "sender@example.com",
      "from_name": "Sender Name",
      "to_emails": ["hello@in.yourdomain.com"],
      "cc_emails": [],
      "reply_to": [],
      "subject": "Hello!",
      "text_content": "Plain text body",
      "html_content": "<p>HTML body</p>",
      "headers": {},
      "spam_verdict": "PASS",
      "virus_verdict": "PASS",
      "spf_verdict": "PASS",
      "dkim_verdict": "PASS",
      "dmarc_verdict": "PASS",
      "status": "received",
      "created_at": "2026-03-07T12:00:00Z"
    },
    "attachments": [
      {
        "id": "...",
        "filename": "document.pdf",
        "content_type": "application/pdf",
        "size_bytes": 102400,
        "download_url": "https://s3.amazonaws.com/...",
        "is_inline": false
      }
    ]
  }
}
Attachment download_url values are presigned S3 URLs that expire after 1 hour.