# GET /v1/inbound/{id}/raw

Download the raw message

The message byte for byte as it was received, as message/rfc822 under Content-Disposition: attachment. 410 once the content window has passed.

Takes a server key (`sk_…`, or `sk_test_…` on a test server) as a bearer token. TypeScript: `sendora.inbound.raw(inboundMessageId)`. Python: `sendora.inbound.raw(inbound_message_id)`.

## Parameters

- `id` (path, required, string (uuid)): The inbound message id.

## Responses

### 200 The raw message.

## Errors

Every error answers `error`, the code, and `message`, a sentence for a person. A code that adds fields is shown in full below the table.

| Code | Status | Meaning |
| --- | --- | --- |
| `unauthorized` | 401 | The key is missing, malformed or revoked. |
| `wrong_token_kind` | 403 | The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes. |
| `not_found` | 404 | No such inbound message of this server. |
| `content_unreadable` | 409 | The stored content of this received message cannot be opened. Sendora has been told. |
| `content_expired` | 410 | The content of this received message is gone; the stream’s content window has passed. The message itself stays 13 months. |
