---
title: "Upload files to a directory."
method: POST
path: "/api/media/upload"
tags: ["Media"]
---

# Upload files to a directory.

`POST /api/media/upload`

## Query parameters

- `path` string

## Response `200`

Upload successful

- MediaOperationResponse — Response for media operations.
  - `message` string, required — Human-readable message
  - `success` boolean, required — Whether the operation succeeded

## Other responses

- `400` — Invalid path or upload
- `500` — Upload failed

---

[API](https://skmtc.net/eyevinn/apis/strom-api.md) · [All operations](https://skmtc.net/eyevinn/apis/strom-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eyevinn/strom-api/versions/c96558b86012/schema)
