---
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-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
- **2025-09-11** `cfa9ae933c17` — 1 info
  - endpoint added
- **2025-08-08** `550d1cb0d011` — 1 breaking
  - api path removed without deprecation
- **2025-08-07** `8f39d60f160a` — 1 info
  - endpoint added

[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/55cdc040840c/schema)
