DocsAPI referenceFiles
Complete a multipart upload
Use multipart.complete_url once every part is received. Answers the completed upload; its input_url then works in jobs. Completing again answers the same. No API key is required.
POST /v1/uploads/{id}/complete
Needs no API key.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | |
account required | query | string | |
expires required | query | string | |
signature required | query | string |
Request
bash
# From the answer of POST /v1/uploads with multipart: true. It needs no API key.
curl --fail-with-body -X POST "https://api.videxo.io/v1/uploads/up_0123456789abcdef01234567/complete?account=acc_7Gq2x9LmTnV4&expires=1793822400&signature=example"Copy failed. The text is selected; copy it with your keyboard.
JavaScript
// `upload` is the answer of POST /v1/uploads with multipart: true. Its URLs need no API key.
const response = await fetch(upload.multipart.complete_url, { method: 'POST' });
const completed = await response.json();Copy failed. The text is selected; copy it with your keyboard.
Response
200 JSON
{
"id": "up_0123456789abcdef01234567",
"input_url": "videxo://uploads/up_0123456789abcdef01234567",
"size_bytes": 250000000,
"sha256": null,
"content_type": "video/mp4",
"expires_at": "2026-11-05T12:00:00.000Z"
}Copy failed. The text is selected; copy it with your keyboard.
Responses
| Status | Body | When |
|---|---|---|
| 200 | CompletedUpload | The upload is complete. |
| 401 | Problem | authentication_failed (client_token_revoked): the client token that created the upload was revoked |
| 403 | Problem | permission_denied (link_invalid, account_disabled) |
| 404 | Problem | not_found (upload): unknown, deleted or aborted |
| 409 | Problem | conflict (upload_incomplete, upload_used): parts are missing or being sent, or the upload failed |
| 410 | Problem | resource_expired (upload_expired, link_expired) |
| 429 | Problem | rate_limited, with Retry-After in seconds |
| 503 | Problem | service_unavailable (temporary): the parts are kept; complete again |