---
title: "Upload file"
method: POST
path: "/v2/files/upload"
tags: ["v2"]
---

# Upload file

`POST /v2/files/upload`

Use this API method to upload a file. If the folder path does not already exist, it will be created. Specify the appropriate content type. Use binary content encoding (not base64).

## Query parameters

- `filename` string, required

## Response `default`

Successful

---

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