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

# Download an attachment

`GET /v1/attachments/{id}`

## Request

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

Streams the file (download only, `nosniff`, sandbox CSP).

Permission: `messages:read`.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `include_unscreened` 'true' | 'false'
- `include_held` 'true' | 'false'

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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