POST/video/assets/{asset_id}/multipartupload/complete

Complete a multipart video upload

Completes a multipart upload for a video asset after you upload all parts to the storage bucket using their pre-signed URLs. Provide the part numbers and ETags returned for the uploaded parts in parts. A 400 response indicates that the multipart upload is incomplete or has been aborted.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 1 body field
asset_idstringrequired

The unique identifier of the asset receiving the multipart upload.

Optional list of uploaded multipart parts, including each part number and its ETag.

partsarray<object>optional

List of object containing part number with ETag received as a response header while uploading each part

4 status codes
200Returns an empty JSON object confirming that the multipart upload was completed.
400Returned when the multipart upload is incomplete or has been aborted.

One documented failure

  • multipart_upload_not_completed

    Multipart upload may have been aboarted or not completed.

codestringrequired
messagestringrequired
401Returned when the API key or bearer token is missing or invalid.

One documented failure

  • invalid_api_key

    API key supplied with request is invalid

errorobjectrequired
403Returned when the account is unpaid or the authenticated user has insufficient role permissions.

One documented failure

  • unauthorized

    You don't have access to this feature. Please contact your organization owner.

errorobjectrequired

Error handling

A 400 is returned when the multipart upload is incomplete or has been aborted; a 401 indicates a missing or invalid API key or bearer token. A 403 indicates an unpaid account or insufficient role permissions. Include the parts list with each uploaded part's PartNumber and ETag so the multipart upload can be completed.