- Connect to the Optimizely REST API with OAuth
- Create and manage applications that access Optimizely data in your account
Optimizely's REST API lets you create and manage Optimizely projects and experiments -- and analyze results -- from other applications. For example, our solutions partners and technology partners use the REST API to:
Use Optimizely to A/B test headlines from within Wordpress
Create Optimizely audiences based on information collected from your Data Management Platform
Manage Optimizely projects from an internal system
Pull results data into an internal dashboard or results widget
Send email alerts when certain results are achieved
Applications that are built on the REST API (such as technology integrations) can use OAuth to access Optimizely data on the customer's behalf by putting them through an authorization flow (similar to how you can log into many accounts via your Facebook or Google+ login).
This article walks you through using OAuth to connect to Optimizely's REST API.
Here's the developer documentation for OAuth in Optimizely Web.
Authorize, view, and revoke applications that can access your data
You can grant trusted third-party applications access to your Optimizely account by logging in via a button that looks like this:
View authorized applications
You can always see a list of third-party applications that you have authorized to access your Optimizely data by going directly to the Developers tab.
To de-authorize a third-party application at any time, simply revoke it from this menu by clicking Revoke Access and confirming your decision. Once you revoke permissions, you can't authorize or re-authorize third-party applications from this menu. To do that, you'll have to go back to the app you want to authorize and go through the authorization process again.
To build integrations using Optimizely's REST API, reference our API Documentation, which covers the endpoints and calls you can use:
If you want to register a new application to access the API via OAuth:
Navigate to Account Settings > Registered Apps.
Click Register New Application.
In the Application Settings modal, enter the Application Name and Redirect URI and select a Client Type (Public or Confidential).