---
title: "Get file by ID"
method: GET
path: "/file/{id}"
tags: ["files"]
---

# Get file by ID

`GET /file/{id}`

Get file content by ID or download with file name.

-  PERMISSIONS (for private files): `api_file:read`

## Path parameters

- `id` string, required

## Response `200`

OK

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/capensis/apis/canopsis-community-api.md) · [All operations](https://skmtc.net/capensis/apis/canopsis-community-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capensis/canopsis-community-api/revisions/7c842289e811/schema)
