Complete multipart upload

POST
Once all the file parts have been uploaded successfully, complete the upload session to assemble all the file parts into a single resulting file.

Request

This endpoint expects a multipart form.
UPLOADCARE_PUB_KEYstringRequired
Public key identifying an Uploadcare project your uploads will go to.
uuidstringRequired

File’s UUID from the /multipart/start/ endpoint.

Response

This endpoint returns an object.
uuidstring
File's unique ID.
file_idstring

Same as uuid

sizeinteger
File's size in bytes.
totalinteger

Same as size.

doneinteger

Same as size.

original_filenamestring
Original file of the uploaded file.
filenamestring

Sanitized original_filename.

mime_typestring
File's MIME-type.
image_infoany
video_infoany
is_imageboolean
True if the uploaded file is an image of a supported file format.
is_storedboolean
True if the file has been marked as stored.
is_readyboolean
True if the file is ready to be fetched from Uploadcare's CDN.
content_infoobjectOptional
Information about file content.
metadatamap from strings to anyOptional
Arbitrary metadata associated with a file.
s3_bucketstringOptional
Name of an AWS S3 bucket where the file is stored. Only available if you associate a Foreign Storage Bucket with your project.

Errors