# Get a customer email in full

```http
GET https://trydimmi.com/api/v1/conversations/{conversation}/messages/{message}/original
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `conversations:read`.

## Path parameters

- `conversation` (string, required): Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search.
- `message` (string, required): Id of the message, starting with msg_, such as msg_01jx2m8k4t. Find it with GET /conversations/{conversation}/messages.

## Response 200 (OK)

- `data` (object, required)
  - `html` (string | null, required): Sanitized HTML of the received message. Null when the mail had no HTML part.
  - `html_too_large` (boolean, required): True when the mail's HTML was bigger than what was kept; the raw email still has all of it.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `raw_available` (boolean, required): True when the caller can download the raw email of this message.
  - `text` (string, required): Full plain text of the received message, longer than the body the timeline shows.
  - `text_truncated` (boolean, required): True when even this full text was cut because the mail held more than was kept; the raw email still has all of it.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/conversations/{conversation}/messages/{message}/original' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "html": "<string>",
    "html_too_large": true,
    "id": "<string>",
    "object": "<string>",
    "raw_available": true,
    "text": "<string>",
    "text_truncated": true
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
