Optimizely v2 REST API

The v2 API is created to give you programmatic access to Optimizely X. You can use the v2 API to read Optimizely Classic data, but to write to Optimizely Classic you will have to use the v1 API.

The Optimizely REST API allows you to manage your Optimizely projects using code. The REST API is an interface for managing and extending functionality of Optimizely. For example, instead of creating and maintaining projects using the Optimizely web dashboard you can create an experiment programmatically. Additionally, if you prefer to run custom analysis on experiment results you can leverage the API to pull data from Optimizely into your own workflow.

Applications built on the REST API have access to Optimizely's data and services like Stats Engine and customer profiles. Developers can integrate Optimizely into their workflows, customize features and further extend functionality. Many of our technology partners have built integrations using the REST API.

This version, API v2, corresponds to data that lives in our latest platform, Optimizely X. If you want to interact with data from Optimizely Classic, please refer to v1 here. These API versions are different due to the nature of varying data models used between Optimizely Classic and Optimizely X. See the Migrating from Classic section to learn more.