---
title: "Get file contents"
method: GET
path: "/file/{file_id}"
tags: ["File"]
---

# Get file contents

`GET /file/{file_id}`

## Path parameters

- `file_id` integer, required

## Response `200`

OK

## Changes

- **2016-09-26** `974c10365bea` — 1 info
  - endpoint added
- **2016-09-08** `d50f6f1346e0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nextcloud/apis/passman-api/changes/file/:file_id/get.md)

---

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