Brand Management API (0.1.0)

Use the Brand Management REST API to manage brand kits in Sitecore.

Brand kits help organizations manage their brands across various channels, teams, and content types. They define a brand's identity, including guidelines, tone, messaging rules, and other defining traits, ensuring Sitecore AI tools generate brand-aligned content.

This REST API lets you create a brand kit, retrieve all brand kit sections and subsections, and update subsections within the brand kit.

After creating a brand kit using the Brand Management REST API, you can use the Documents REST API to upload your brand documents, then the Pipeline REST API to start brand ingestion.

Note the following:

  • To use this REST API, you must authenticate your API requests.

  • All API requests are made in your production environment.

For more information, see the official Sitecore Stream documentation.

Authorization

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

Create Client ID and Client Secret

  1. In the Sitecore Cloud Portal, open Stream.
  2. Click Admin > Partner keys > Create credential.
  3. In the ​Create New Client​​ dialog, enter a name and description for the client. Then click Create. The ​Client ID and Client Secret​​ display.
  4. Copy the Client ID and Client Secret because you won't be able to view them again in Stream. You'll use them to request an access token.

Request an access token

Run the following cURL command to request an access token. Replace the placeholder values with your Client ID and Client Secret.

  curl -X POST 'https://auth.sitecorecloud.io/oauth/token' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'client_id={YOUR_API_KEY}' \
  --data-urlencode 'client_secret={YOUR_API_SECRET}' \
  --data-urlencode 'grant_type=client_credentials' \
  --data-urlencode 'audience=https://api.sitecorecloud.io'

In the response, the access_token key contains the access token:

  {
    "access_token": "{YOUR_ACCESS_TOKEN}",
    "scope": "ai.org.brd:w ai.org.brd:r ai.org.docs:w ai.org.docs:r ai.org:admin",
    "expires_in": 86400,
    "token_type": "Bearer"
  }

Access tokens expire in 24 hours. If your requests unexpectedly return a response with status 401 Unauthorized, request a new access token by repeating this POST request.

We recommend that you cache the access token for 24 hours to avoid repeating this POST request while the access token is still valid.

Include the access token in the request header

You can now start making REST API requests. You must include the access token in the request header of every request. For example:

curl -X GET '{YOUR_BASE_URL}/v2/...' \
-H 'Authorization: Bearer {YOUR_ACCESS_TOKEN}' \
-H 'Accept: application/json'
Download OpenAPI description
Overview
License Apache 2.0
Languages
Servers
Production West Europe server
https://ai-brands-api-euw.sitecorecloud.io/
Production East US API server
https://ai-brands-api-use.sitecorecloud.io/
Production Australia East API server
https://ai-brands-api-aue.sitecorecloud.io/
Production Japan East API server
https://ai-brands-api-jpe.sitecorecloud.io/

Brand kit

A brand kit is a structured resource designed to help our brand-aware AI generate consistent, brand-aligned content. It begins as a blank template featuring brand kit sections like Brand Context, Global Goals, and Tone of Voice.

To use your brand kit for content creation, you must upload brand documents and initiate brand ingestion. These enable you to extract information and populate the brand kit's sections with relevant details, which help guide our AI copilots and agents.

Operations