---
title: "upload file or create folder"
method: PUT
path: "/api/v1/files/{storage}/{path}"
---

# upload file or create folder

`PUT /api/v1/files/{storage}/{path}`

## Headers

- `Content-Length` integer
- `Content-Type` string
- `Print-After-Upload` '?0' | '?1' — ?0=False, ?1=True, according RFC8941/3.3.6
- `Overwrite` '?0' | '?1' — ?0=False, ?1=True, according RFC8941/3.3.6

## Response `201`

Created

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict

---

[API](https://skmtc.net/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.net/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/versions/e0a5f7abc4df/schema)
