---
title: "Upload file"
method: POST
path: "/v1/file"
tags: ["Uploads"]
---

# Upload file

`POST /v1/file`

## Headers

- `authorization` string, required

## Response `200`

- object
  - `data` object, required
    - `id` string, required — Storage object ID (full storage key)
    - `url` string, uri, required
  - `status` 'ok', required

## Other responses

- `400`
- `401`
- `403`
- `413`
- `429`
- `500`
- `503`

---

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