---
title: "Api Upload Files"
method: POST
path: "/v1/files/{pk}"
tags: ["files"]
---

# Api Upload Files

`POST /v1/files/{pk}`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/files/{pk}`
- Auth: HTTP bearer

## Path parameters

- `pk` string, required

## Response `201`

Successful Response

- FileUploadResult[]
  - `file_name` string, required
  - `url` string, uri, required
  - `is_external` boolean

## Other responses

- `413`: Payload Too Large
- `415`: File type not supported
- `422`: Validation Error

---

[API](https://skmtc.dev/branchly/apis/branchly-io-api.md) · [All operations](https://skmtc.dev/branchly/apis/branchly-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/branchly/apis/branchly-io-api/revisions/9ffb024f8ec8?raw)
