Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
    • Authentication
    • Base URL
    • Batch file formatting requirements
            • Allocate batch upload location
            • Upload batch file
            • Retrieve details of batch uploads
            • Retrieve batch file upload status
            • Retrieve batch upload error log
  1. Upload a batch file
  1. Batch API
  2. Upload a batch file
  3. 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.

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>'
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use