---
title: "Create single file for specific patient"
method: POST
path: "/patients/{id}/file"
tags: ["patient"]
---

# Create single file for specific patient

`POST /patients/{id}/file`

Upload single file for a specific patient

## Response `200`

Successfully uploaded file

- object
  - `id` integer, required — Uploaded file ID
  - `name` string, required — Uploaded file name
  - `patientId` integer, required — Patient ID

## Other responses

- `400` — Missing file
- `404` — Patient not found
- `500` — Error storing file

---

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