DocumentationAPI Reference

Uploads

Complete a chunked upload

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

POST
/uploads/{id}/complete

Assembles the uploaded parts, HEADs the object, and verifies its actual size matches the declared size and the caller's plan file-size limit.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

parts*array<>

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/uploads/string/complete" \  -H "Content-Type: application/json" \  -d '{    "parts": [      {        "etag": "string",        "number": 1      }    ]  }'
Empty

Errors