v1

latestOpenAPI 3.1.0Apache 2.02026-07-17113629.5 KB

Activate selected features and experiments for the given user.

Returns Optimizely's decision about which features and experiments a given user is exposed to. Optionally sends an impression event to the Optimizely analytics backend for any decision made for an experiment. This endpoint consolidates key functionality from the Feature Experimentation SDKs into one convenient call.

post/v1/activate

Query parameters

featureKeystring[]

Key for the Optimizely Feature

experimentKeystring[]

Key for the Optimizely Experiment

disableTrackingboolean

Setting to true will disable impression tracking for experiments.

type'feature' | 'experiment' | ''

Limit the decisions to either experiment or features

Limit the decisions to either experiment or features

enabledboolean

Filter the activation response to return only enabled decisions.

Request body

userIdstring
userAttributesobject

Response

Valid response

featureKeystring
experimentKeystring
variationKeystring
type'feature' | 'experiment' | ''
enabledboolean
variablesobject
errorstring