---
title: "Upload file"
method: POST
path: "/misc/upload"
---

# Upload file

`POST /misc/upload`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/misc/upload`
- Auth: API key in header `x-api-key`

## Query parameters

- `attachment_type` string, required
- `attachment_name` string
- `attachment_description` string
- `attachment_visibility` string
- `module` string
- `module_uid` string
- `attachment_uid` string
- `handle_conflicts` boolean
- `tags` string
- `include_thumbnail` boolean
- `thumbnail_resolution` string
- `attachment_created_at` string

## Headers

- `Content-Type` string
- `Content-Disposition` string

## Response `200`

200

- object
  - `type` string
  - `data` object
    - `attachment_uid` string
    - `attachment_path` string
    - `attachment_size` number
    - `attachment_type` string
    - `attachment_name` string
    - `thumbnail_url` string

## Other responses

- `400`: 400
- `500`: 500

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/misc/upload/post.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
