---
title: "Download an attachment"
method: GET
path: "/v1/inbound/{id}/attachments/{attachmentId}"
tags: ["Inbound"]
---

# Download an attachment

`GET /v1/inbound/{id}/attachments/{attachmentId}`

## Request

- Base URL: `https://api.sendora.se`
- URL: `https://api.sendora.se/v1/inbound/{id}/attachments/{attachmentId}`
- Auth: HTTP bearer

The attachment’s bytes as application/octet-stream whatever the sender declared, under Content-Disposition: attachment with its sanitised name. 410 once the content window has passed.

## Path parameters

- `id` string, uuid, required
- `attachmentId` string, uuid, required

## Response `200`

The attachment.

## Other responses

- `401`: The key is missing, malformed or revoked.
- `403`: The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.
- `404`: No such inbound message of this server.
- `409`: The stored content of this received message cannot be opened. Sendora has been told.
- `410`: The content of this received message is gone; the stream’s content window has passed. The message itself stays 13 months.

---

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