---
title: "Upload file (Developer API)"
method: POST
path: "/api/v1/upload"
tags: ["File Upload"]
---

# Upload file (Developer API)

`POST /api/v1/upload`

## Request

- Base URL: `https://stackby.com`
- URL: `https://stackby.com/api/v1/upload`
- Auth: API key in header `X-API-Key`

## Request body `multipart/form-data`

- object
  - `file` string, binary

## Response `200`

File uploaded successfully

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `fileId` string
    - `url` string
  - `timestamp` string, date-time

---

[API](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation.md) - [All operations](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/revisions/c9909a003a56?raw)
