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
  • REST APIs
  • Authentication and authorization

Authentication and authorization

Authentication

The following Sitecore CDP REST APIs use basic authentication:

  • Guest REST API

  • Guest data extension REST API

  • Order REST API

  • Order item REST API

  • Order contact REST API

  • Order consumer REST API

  • Order data extension REST API

  • Order item data extension REST API

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.1/guests' \
-u '<username>:<password>' \
-H 'Accept: application/json'

Authorization

The Audience export REST API uses the OAuth 2.0 standard with JSON web tokens to authorize REST API requests.

To authorize a REST API request:

  1. Create an API key.

  2. Request an access token using the API key.

  3. Include the access token in the request header of every REST API request.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2025 Sitecore