---
title: "Upload a file"
method: POST
path: "/forms/{key}/upload_file"
tags: ["Form Submit"]
---

# Upload a file

`POST /forms/{key}/upload_file`

## Request

- Base URL: `https://app.cabinpanda.dev/api/v1`
- URL: `https://app.cabinpanda.dev/api/v1/forms/{key}/upload_file`
- Auth: HTTP bearer

## Path parameters

- `key` string, required

## Request body

- FileUploadBody
  - `file` string: file
  - `session_id` string: session_id
  - `field_key` string: field_key

## Response `200`

OK

---

[API](https://skmtc.dev/cabinpanda/apis/cabinpanda-api-docs.md) · [All operations](https://skmtc.dev/cabinpanda/apis/cabinpanda-api-docs/llms.txt) · [OpenAPI document](https://skmtc.dev/cabinpanda/apis/cabinpanda-api-docs/revisions/70fd15712347?raw)
