Skip to main content

Composing the API response for a web experiment


Provides an overview of composing the API response for a web experiment (Sitecore Personalize).

When you compose an API response, you must enter the parameters that your organization's website requires in order to correctly display the offer or content. You can copy and paste dynamic data from the web experiment response into the API response. This is required if you want to use any parameters in the API response that are requested by the dependent website, such as "uri""region", and "pointOfSale".

You can also include the offer or content returned by a decision model in the API response.

To do this, you must configure the variant to include the dynamic data so that when the variant executes, the server requests the dynamic data and passes it to your organization's website.