Complete a multipart upload after all parts have been uploaded to S3.
After uploading all parts using the presigned URLs from the initiate endpoint, call this endpoint with the ID, key, and all part ETags to finalize the upload.
The input should contain:
id: the ID from the multipart upload initiation (previously called uploadId)key: the S3 key from the multipart upload initiationparts: array of objects with partNumber and eTag for each uploaded part| Property | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The ID from the multipart upload initiation (previously called uploadId) |
| key | string | Yes | The S3 key from the multipart upload initiation |
| parts | array | Yes | Array of objects with partNumber and eTag for each uploaded part |
parts array should contain:
| Property | Type | Required | Description |
|---|---|---|---|
| partNumber | number | Yes | Sequential part number (1, 2, 3, …) |
| eTag | string | Yes | ETag value from the part upload response |
/prod/v1/files/upload/multipart to get presigned URLsAPI key for authentication
ID from the multipart upload initiation
"upload_abc123xyz"
S3 key from the multipart upload initiation
"org_123/workspace_456/device/file_abc/document.pdf"
Array of completed parts with part numbers and ETags
[
{ "partNumber": 1, "eTag": "\"etag1\"" },
{ "partNumber": 2, "eTag": "\"etag2\"" }
]Multipart upload completed successfully