---
title: "Download an attachment"
method: GET
path: "/api/v1/attachments/{id}"
tags: ["Attachments"]
---

# Download an attachment

`GET /api/v1/attachments/{id}`

## Request

- Base URL: `https://supermailos.com`
- URL: `https://supermailos.com/api/v1/attachments/{id}`
- Auth: HTTP bearer

The attachment's bytes with its content type, served as a download.

## Path parameters

- `id` string, required

## Response `200`

The file.

## Other responses

- `401`: Missing, invalid or revoked API key.
- `403`: The key lacks the scope (`missing_scope`) or the access (`forbidden`).
- `404`: Not found — or not reachable with this key.
- `429`: Too many requests.

---

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