Authentication
The Sitecore CDP Batch API uses basic authentication.
Basic authentication involves sending a user name and a password with every request. To find your user name and password, in Sitecore CDP, on the navigation pane, click > API access:
-
The user name is the Client Key.
-
The password is the API Token.
Sending a user name and a password with a request:
RequestResponse
curl -X GET '<baseURL>/v2/batches/12af3453-62da-4b31-a646-631b7b5f3009' \
-u '<username>:<password>' \
-H 'Accept: application/json'