---
title: "Retrieve a received email with attachment data"
method: GET
path: "/received-emails/{id}"
tags: ["Inbound"]
---

# Retrieve a received email with attachment data

`GET /received-emails/{id}`

## Request

- Base URL: `https://api.supersendtx.com`
- URL: `https://api.supersendtx.com/received-emails/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Received email detail

- ReceivedEmailResponse
  - `received_email` ReceivedEmail, required
    - `id` string, required: Received email public id (`inb_…`)
    - `domain_id` string, required
    - `domain_name` string, required
    - `status` 'received', required
    - `rcpt_to` string, email, required: Envelope recipient as received by SuperSend TX.
    - `mail_from` string, nullable, required: SMTP envelope sender.
    - `from` string, required
    - `to` string[], required
    - `cc` string[], required
    - `subject` string, required
    - `spam_status` string, nullable, required
    - `bounced` boolean, required
    - `received_with_ssl` boolean, nullable, required
    - `message_id` string, nullable, required
    - `in_reply_to` string, nullable, required
    - `references` string[], required
    - `attachment_count` integer, required
    - `attachments` ReceivedEmailAttachment[], required
      - `filename` string, required
      - `content_type` string, required
      - `size` integer, required
      - `content_id` string, nullable
      - `data` string, byte: Base64-encoded attachment content. Present on retrieve responses, omitted from list responses.
    - `text_body` string, nullable, required
    - `html_body` string, nullable, required
    - `auto_submitted` string, nullable, required
    - `received_at` string, date-time, required
    - `created_at` string, date-time, required

## Other responses

- `401`: Missing or invalid API key / session
- `404`: Received email not found

---

[API](https://skmtc.dev/ranla/apis/supersend-tx-api.md) · [All operations](https://skmtc.dev/ranla/apis/supersend-tx-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ranla/apis/supersend-tx-api/revisions/e3e782652f50?raw)
