---
title: "Download a single file"
method: GET
path: "/user/files"
tags: ["user APIs"]
---

# Download a single file

`GET /user/files`

Returns the file contents as response body

## Query parameters

- `path` string, required
- `inline` string

## Response `200`

successful operation

## Other responses

- `206` — successful operation
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `default` — Unexpected Error

---

[API](https://skmtc.net/kanton-bern/apis/sftpgo.md) · [All operations](https://skmtc.net/kanton-bern/apis/sftpgo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kanton-bern/sftpgo/versions/d8d616a479b0/schema)
