Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
        • API keys
        • Create an API key
        • Request an access token
    • Base URL
    • Response codes
    • REST API Guest v2.1
    • REST API Guest data extension v2.1
    • REST API Order v2.1
    • REST API Order contact v2.1
    • REST API Order consumer v2.1
    • REST API Order data extension v2.1
    • REST API Order item data extension v2.1
    • REST API Audience export
  1. REST APIs
  1. REST APIs
  2. 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:

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.

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