---
title: "Get message plaintext"
method: GET
path: "/text/{email}/{messageId}"
tags: ["Messages"]
---

# Get message plaintext

`GET /text/{email}/{messageId}`

Get a message's text content. If the original message only contained HTML, a simple plain
text body will be generated.

HTTP links in the plain text email will be available when fetching the message's metadata
at the `message.links[]` property.

Use the querystring param ?download=1 to trigger file download in browser.

## Response `200`

OK

## Other responses

- `401` — Not authorized. You may need to log in first.
- `404` — Message not found by id...

---

[API](https://skmtc.net/mailsac/apis/mailsac-api-specification.md) · [All operations](https://skmtc.net/mailsac/apis/mailsac-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mailsac/mailsac-api-specification/versions/5f8b55c76229/schema)
