DocumentationAPI Reference

Uploads

Start a chunked upload

Sign in to call the API here free (20 conversions a day), or enter an API key below.

POST
/uploads

Gets a file past Cloudflare's request-body limit (100 MB) by uploading directly to R2 in parts. Unrelated to OCR/parsing — use for a file over 100 MB but within the caller's plan file-size limit; a smaller file can still use multipart file on the convert call itself.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

bytes*integer
Range1 <= value
name*string

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/uploads" \  -H "Content-Type: application/json" \  -d '{    "bytes": 1,    "name": "string"  }'
Empty

Errors