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

# Retrieve a received email

`GET /email/received/{id}`

## Request

- Base URL: `https://www.unitpost.com/api/v1`
- URL: `https://www.unitpost.com/api/v1/email/received/{id}`
- Auth: HTTP bearer

Retrieve a full inbound message by `id`, including its HTML and text bodies plus metadata for every attachment. Attachment bytes aren't inlined — download each one via [Get an attachment download URL](#get-email-received-id-attachments-attachmentid). Browse your inbound mail with [List received emails](#get-email-received). Requires the `emails:read` capability.

## Response `200`

The received email.

- ReceivedEmail
  - `object` 'received_email', required
  - `id` string, required
  - `from` string, required
  - `from_name` string, nullable, required
  - `to` string[], required
  - `cc` string[], required
  - `bcc` string[], required
  - `message_id` string, nullable, required
  - `subject` string, nullable, required
  - `text` string, nullable, required
  - `html` string, nullable, required
  - `spam_verdict` string, nullable, required
  - `virus_verdict` string, nullable, required
  - `spf_verdict` string, nullable, required
  - `dkim_verdict` string, nullable, required
  - `dmarc_verdict` string, nullable, required
  - `size` number, required
  - `attachments` object[], required
    - `object` 'received_attachment', required
    - `id` string, required
    - `filename` string, nullable, required
    - `content_type` string, nullable, required
    - `content_disposition` string, nullable, required
    - `content_id` string, nullable, required
    - `size` number, required
  - `received_at` string, required
  - `created_at` string, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: Insufficient scope.
- `404`: Received email not found.

---

[API](https://skmtc.dev/unitpost/apis/unitpost-api.md) · [All operations](https://skmtc.dev/unitpost/apis/unitpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unitpost/apis/unitpost-api/revisions/86ff7c890967?raw)
