Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore CDP
Data privacy
Before you start sending data
Integrating with Sitecore CDP
Stream API
Batch API
REST APIs
Data lake export service
  • Sitecore CDP for developers
  • Batch API
  • Upload a batch file
  • Reference
  • Upload batch file

Upload batch file

PUT <batchUploadPath>

Starts uploading a batch file. Make this request after allocating a batch upload location.

Attribute

Type

Description

Example

batchUploadPath

string

The URI of the upload path.

If you do not know the URI, first allocate a batch upload location. In the response, in the location object, the href key contains the batch upload path.

https://sitecore-batch-service-dev-eu-west-1.s3.amazonaws.com/...

Base64 string

string

The Base64-encoded version of the hex-encoded MD5 checksum. You created the hex-encoded MD5 checksum before you allocated a batch upload location.

hmhSUwGGLymfT1gmfmkCSA==

path to gzipped file

string

The path to the gzipped file. You must upload a file in the body as binary data.

@/C:/Users/user/Desktop/import.json.gz

This request returns an empty, 200 OK response.

RequestResponse
curl -X PUT 'https://sitecore-batch-service-dev-eu-west-1.s3.amazonaws.com/...' \
-H 'x-amz-server-side-encryption: AES256' \
-H 'Content-Md5: <Base64_string>' \
-H 'Content-Type: application/gzip' \
--data-binary '<path_to_gzipped_file>'

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore