Chunked Uploads

Initiate a new chunked upload

POST
/v2.1/accounts/{accountId}/chunked_uploads

This method initiates a new chunked upload with the first part of the content.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Request Body

application/json

This is the request object for uploading a chunked upload.

chunkedUploadId?string

The ID of the chunked upload.

Note: This property is ignored in requests, and overridden with an auto-generated value in responses.

data?string

A base64-encoded representation of the content that is used to upload the file.

Maximum size: 50 MB. However, data is also subject to REST API limits regarding request sizes, and Internet Information Systems (IIS) might place further constraints on file size.

Response Body

application/json

application/json

curl -X POST "https://example.com/v2.1/accounts/string/chunked_uploads" \  -H "Content-Type: application/json" \  -d '{}'
{  "checksum": "string",  "chunkedUploadId": "string",  "chunkedUploadParts": [    {      "sequence": "string",      "size": "string"    }  ],  "chunkedUploadUri": "string",  "committed": "string",  "expirationDateTime": "string",  "maxChunkedUploadParts": "string",  "maxTotalSize": "string",  "totalSize": "string"}