---
title: "Download file directly by attachment ID"
method: GET
path: "/api/v1/files/{id}/download"
tags: ["Files"]
---

# Download file directly by attachment ID

`GET /api/v1/files/{id}/download`

## Path parameters

- `id` string, required

## Response `200`

File stream

## Other responses

- `401` — Invalid API key
- `403` — Not your file
- `404` — Attachment not found

## Changes

- **2026-04-02** `d05e1eeb4e5c` — 4 info
  - the endpoint scheme security `api-key` was added to the API
  - the endpoint scheme security `bearer` was removed from the API
  - api tag `Files` added
  - api tag `Agent API` removed

[Change history](https://skmtc.dev/placet-io/apis/placet-api/changes/api/v1/files/:id/download/get.md)

---

[API](https://skmtc.dev/placet-io/apis/placet-api.md) · [All operations](https://skmtc.dev/placet-io/apis/placet-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/placet-io/placet-api/revisions/3fb7657511b8/schema)
