---
title: "Get File Content By Id"
method: GET
path: "/files/{id}"
tags: ["Files"]
---

# Get File Content By Id

`GET /files/{id}`

Requires role: Admin

## Path parameters

- `id` integer, required

## Response `200`

Success

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - insufficient role
- `500` — Internal server error

## Changes

- **2026-07-13** `d86d0bf8bebe` — 1 info
  - api operation id `getFileContentById` removed and replaced with `files_getFolderById`
- **2026-07-13** `655215fe8c81` — 1 info
  - api operation id `files_getFolderById` removed and replaced with `getFileContentById`
- **2026-06-22** `5878ba786a89` — 1 info
  - api operation id `getFileContentById` removed and replaced with `files_getFolderById`
- **2026-04-21** `55cdc040840c` — 2 info
  - api operation id `getFolderById` removed and replaced with `getFileContentById`
  - added the non-success response with the status `403`
- **2026-04-05** `c419b1e72a65` — 1 breaking, 5 info
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `getFolderById` was added
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `JWTAuth` was removed from the API
  - …2 more

[Full history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/files/:id/get.md)

---

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