Skip to main content
POST
AB Testing: Add User to Experiment
Add a user to an existing A/B testing experiment.

Body

string
required
The identifier of the user to add to the experiment
string
required
The unique flag name assigned to the experiment
number
The sampling rate for assigning users to the experiment (between 0 and 1). If not provided, the sample rate specified in the UI will be used. Set to 1 to assign all new users to the experiment.

Response

boolean
Indicates if the user was successfully added to the experiment