---
title: "Upload file + JSON data (with oneOf)"
method: POST
path: "/v1/upload"
tags: ["File Upload Operations"]
---

# Upload file + JSON data (with oneOf)

`POST /v1/upload`

## Request

- Base URL: `https://api.kraken.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kraken.io/v1/upload`
- Auth: none declared

Endpoint to upload a file and additional JSON data in a single multipart/form-data request.

## Response `200`

Upload processed successfully

- UploadResponse
  - `success` boolean
  - `kraked_url` string
  - `file_name` string
  - `original_size` integer
  - `kraked_size` integer
  - `saved_bytes` integer

---

[API](https://skmtc.dev/kraken-io/apis/kraken-io-api-documentation.md) · [All operations](https://skmtc.dev/kraken-io/apis/kraken-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/kraken-io/apis/kraken-io-api-documentation/revisions/918d4599daf3?raw)
