---
title: "Get the original messages of an email document"
method: GET
path: "/v1/documents/{id}/mail-originals"
tags: ["Documents"]
---

# Get the original messages of an email document

`GET /v1/documents/{id}/mail-originals`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/documents/{id}/mail-originals`
- Auth: HTTP bearer

The original messages an email document was captured from, as they were
sent: sender, subject, sent time, the HTML body (pictures shown inside the
mail embedded) and the plain text. Use it to show an email the way its
sender wrote it.

The HTML is returned as the sender wrote it. Show it in a sandbox without
scripts or remote content. An HTML body larger than 1.5 MB is left out
(`html` is null) and the text stays. A document that was not captured from
an email answers an empty `originals` list. At most 200 originals are
returned.

Answers only what the key's person may read: a document that is missing,
in another workspace, or hidden from that person answers the same `404`.
Requires the `read` scope (or `documents:read`). Any member of the
workspace may call it.

## Path parameters

- `id` string, uuid, required

## Response `200`

The original messages, in the order they were stored.

- object
  - `originals` object[], required
    - `asset_id` string, uuid, required: The stored original this message was read from.
    - `message_id` string, nullable, required: The message's own `Message-ID` header.
    - `date` string, date-time, nullable, required: When the message was sent.
    - `from` string, nullable, required
    - `subject` string, nullable, required
    - `html` string, nullable, required: The HTML body as sent; null when the mail has none or it is larger than 1.5 MB.
    - `text` string, nullable, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-27** `90feef18b640`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/documents/:id/mail-originals/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
