Skip to main content

Experiment API

Last updated on Mar 24, 20261 min read

In short​

With the Experiment API, you can create, pause, and archive experiments and variants via API, as well as define traffic allocation, page targeting, and audience targeting. You can also retrieve the raw data from your experiments and configure all of your experiment settings.

How to use the Experiment API​

The account owner can create an API key under Team Settings in the API Keys menu item. Once the API key has been created, both the client key and the secret key will be visible.

Varify team settings under „API Keys“ with one existing key and the form „Create API Key“ below

The client secret is only visible shortly after creation and cannot be displayed again afterwards.

The same screen right after creating a key: „New API Key created“, with the client ID and the client secret shown once

Developer documentation​

Click here to go to the Developer documentation.