API keys
API keys are used to authorize REST API requests for specific features. With API keys, you can provide granular access to REST API resources and limit the type of CRUD operations that can be performed on them.
Only Sitecore Cloud Portal team members with the necessary roles can create and manage API keys. For more information, contact your Sitecore Cloud Portal organization Owner or organization Admin.
Features
One API key gives access to one feature. You can create API keys for the following features:
-
Connections - create, read, update, and delete connections.
-
Decision model testing - read decision models and decision model tests.
-
Templates - create, read, update, and delete web templates and decision templates. Offer templates are not available in Sitecore Personalize REST APIs.
-
Multiple resources - create, read, update, and delete all of the following:
-
Connections
-
Decision models
-
Experiments
-
Experiences
-
Web templates
-
Decision templates
-
For security reasons, we recommend that you create an API key for the exact feature you need.
For example, if you only need to perform CRUD operations on templates, select the Templates feature instead of the Multiple resources feature, which, in this example, would provide access to unnecessary resources.