---
title: "Download a message's raw ciphertext attachment"
method: GET
path: "/api/v1/messages/{id}/attachment"
tags: ["Messages"]
---

# Download a message's raw ciphertext attachment

`GET /api/v1/messages/{id}/attachment`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/messages/{id}/attachment`
- Auth: API key in header `api-key`

Member-gated. Streams raw bytes (application/octet-stream), not JSON -- the response is still client-side-encrypted ciphertext the caller decrypts itself.

## Path parameters

- `id` string, required

## Response `200`

Raw attachment bytes.

## Other responses

- `401`: Missing or invalid credentials.
- `404`: Not found.

---

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