Experiments
Activate Experiment
Starts (or resumes) an experiment or feature flag so evaluation begins serving it. Activating a draft stamps started_at; resuming a paused experiment keeps the original start. Only drafts and paused experiments can be activated. Requires the corresponding experiment permission on the owning account, or Whop internal access for internal experiments.
post/experiments/{id}/activate
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"duration_days": 30
}Response
experiment activated
Example response
{
"account_id": "internal",
"assignment_seed": "checkout_redesign_v21768435200",
"bucket_by": "user",
"configuration_revision": 1,
"control": {
"related_resource": {
"object": "app"
}
},
"created_at": "2026-01-01T12:00:00.000Z",
"created_by": "user_xxxxxxxxxxxxxx",
"ended_at": "2026-01-01T12:00:00.000Z",
"findings": "Treatment lifted conversion 8%",
"flag_key": "checkout_redesign_v2",
"hypothesis": "Users will convert more",
"id": "expt_xxxxxxxxxxxxxx",
"name": "Checkout Redesign V2",
"related_resource": {
"object": "app"
},
"started_at": "2026-01-01T12:00:00.000Z",
"status": "draft",
"targeting_rules": [
{
"conditions": [
{
"operator": "any",
"type": "user_id"
}
],
"type": "include"
}
],
"updated_at": "2026-01-01T12:00:00.000Z",
"variants": [
{
"name": "treatment",
"ranges": [
[
0,
50
]
],
"related_resource": {
"object": "app"
},
"weight": 50
}
],
"winning_arm": "treatment"
}