---
title: "Upload file"
method: POST
path: "/public/v1/files/"
tags: ["V1FileResource"]
---

# Upload file

`POST /public/v1/files/`

## Request

- Base URL: `https://app.silnahealth.com/api`
- URL: `https://app.silnahealth.com/api/public/v1/files/`
- Auth: HTTP bearer

## Headers

- `provider-id` string, uuid, required
- `original-filename` string, required

## Request body `application/octet-stream`

- string, binary

## Response `201`

- V1FileCreateResponseSchema
  - `id` string, uuid, required

## Other responses

- `400`
- `401`
- `404`
- `413`
- `429`

## Changes

- **2026-09-03** `fd526e716e77`: 1 breaking
  - the `header` request parameter `original-filename` became required

[Operation history](https://skmtc.dev/silnahealth/apis/silna-public-api/changes/public/v1/files/post.md)

---

[API](https://skmtc.dev/silnahealth/apis/silna-public-api.md) - [All operations](https://skmtc.dev/silnahealth/apis/silna-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/silnahealth/apis/silna-public-api/revisions/06b4547aa602?raw)
