Compose the API request for a web experiment
When you compose the API request, 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 request. This is required if you want to use any parameters in the API request that are requested by the dependent website, such as
You can also include the offer or content returned by a decision model in the API request.
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.
To compose the API request for a web experiment:
context object. For example, to include in the CSS an
imageURL from the API response, reference it as follows: