curl --request POST \
--url https://upload.autorender.io/api/v1/multipart/complete \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'
{
"success": true,
"data": {
"id": "<string>",
"file_no": "<string>",
"name": "big-video.mp4",
"url": "<string>",
"path": "uploads/videos",
"width": null,
"height": null,
"format": "mp4",
"file_size": 73400320,
"workspace_no": "<string>"
}
}
{
"success": false,
"error": "<string>"
}
{
"success": false,
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
{
"success": false,
"error": "<string>",
"message": "<string>"
}
Multipart Upload
Multipart complete
Finalize the multipart upload after all parts are uploaded.
POST
/
api
/
v1
/
multipart
/
complete
curl --request POST \
--url https://upload.autorender.io/api/v1/multipart/complete \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'
{
"success": true,
"data": {
"id": "<string>",
"file_no": "<string>",
"name": "big-video.mp4",
"url": "<string>",
"path": "uploads/videos",
"width": null,
"height": null,
"format": "mp4",
"file_size": 73400320,
"workspace_no": "<string>"
}
}
{
"success": false,
"error": "<string>"
}
{
"success": false,
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
{
"success": false,
"error": "<string>",
"message": "<string>"
}
Key type: accepts your public key or a private key. Uploading is the one thing a
public key may do, so this endpoint works from browser and mobile code — see
key types and scope.
curl --request POST \
--url https://upload.autorender.io/api/v1/multipart/complete \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'
{
"success": true,
"data": {
"id": "<string>",
"file_no": "<string>",
"name": "big-video.mp4",
"url": "<string>",
"path": "uploads/videos",
"width": null,
"height": null,
"format": "mp4",
"file_size": 73400320,
"workspace_no": "<string>"
}
}
{
"success": false,
"error": "<string>"
}
{
"success": false,
"error": "Unauthorized",
"message": "Invalid or missing API key"
}
{
"success": false,
"error": "<string>",
"message": "<string>"
}
Overview
Finalizes the multipart session after every part has been uploaded to its presigned URL. Autorender assembles the parts and registers the file in your workspace.Authentication
Authorization: Bearer YOUR_API_KEY
Workflow
This is step 3 of 3.- Multipart start
- Upload parts
- Multipart complete (this endpoint) — body:
{ "session_id": "<from start>" }
Request body
| Field | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | session_id from the start response |
Authorizations
API key for public endpoints. Can also be provided via Authorization: Bearer
Response
Upload completed
Upload completed
Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Show child attributes
Show child attributes
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Was this page helpful?