Skip to main content

Create an experiment

POST 

/projects/:project/experiments

Creates a draft. Only name, type and page_url are required, and the draft opens the way the dashboard opens one: an Original, one placeholder variation and targeting for the page. Anything else may be sent in the same call, under the same names the update calls use: variations, allocation and split (as in Replace variations), primary and secondary (as in Replace goals), audience or conditions (as in Replace targeting). All or nothing: a refusal in any part creates nothing. Needs an editor or publisher key.

Request​

Responses​

The test was created, as a draft.