Skip to content

Activate an experiment. This transitions a draft or paused experiment to running. The experiment must have at least two variants, and the sum of all variant weights must equal 100. You must publish all stories and their variants before activating the experiment.

PUT
https://mapi.storyblok.com/v1/spaces/:space_id/experiments/:experiment_id/activate
  • :space_id required number

    Numeric ID of a space.

  • :experiment_id required number

    Numeric ID of the experiment.

  • end_date string

    Optional planned end date for the experiment in ISO 8601 format (YYYY-MM-DD). Must be in the future.

curl "https://mapi.storyblok.com/v1/spaces/288868932106293/experiments/176070002766742/activate\
?end_date=2026-08-20" \
-X PUT \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{}"

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window) . Terms of Service (opens in a new window) apply.