Skip to main content
PATCH
Upload a chunk

Authorizations

Authorization
string
header
required

Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.

Headers

Upload-Offset
integer | null

Byte offset this chunk starts at. Must equal the current server-side offset; a mismatch returns 409 (call HEAD to discover the true offset).

Content-Length
integer | null

Size of the chunk body in bytes.

Content-Type
string | null

Must be application/offset+octet-stream.

Tus-Resumable
string | null

TUS protocol version. Must be 1.0.0.

Path Parameters

upload_id
string<uuid>
required

Identifier of the upload.

Response

Chunk accepted. The new offset is returned as a response header.