Skip to main content
POST
Get multipart part URLs
Only used for a multipart upload (when POST /files/uploads returned upload_type: "multipart"). Pass the upload_id from the intent and the part numbers you’re about to upload; you get back a presigned PUT URL per part. Request them in batches if you like — you don’t have to fetch all part_count URLs at once. PUT each chunk to its URL, keep the ETag from each response, then pass every {part_number, etag} to POST /files/{file_id}/finalize.

Authorizations

Authorization
string
header
required

Requires an API key. See the Authentication guide.

Path Parameters

file_id
string
required

Body

application/json

Ask for presigned PUT URLs for a multipart upload's parts.

upload_id
string
required
part_numbers
integer[]
required

1-based part numbers

Minimum array length: 1

Response

200 - application/json

Presigned PUT URL per requested part number.

part_urls
Part Urls · object
required
object
string
default:upload_part_urls
Allowed value: "upload_part_urls"