This topic describes how to:
- Connect to the Optimizely Web Experimentation REST API with OAuth
- Create and manage applications that access Optimizely Web Experimentation data in your account
Optimizely Web Experimentation's REST API lets you create and manage Optimizely Web Experimentation projects and experiments -- and analyze results -- from other applications. For example, our solutions partners and technology partners use the REST API to:
Use Optimizely Web Experimentation to A/B test headlines from within WordPress
Create Optimizely Web Experimentation audiences based on information collected from your Data Management Platform
Manage Optimizely Web Experimentation 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 Web Experimentation 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 Web Experimentation's REST API.
Here's the developer documentation for OAuth in Optimizely Web Experimentation.
Authorize, view, and revoke applications that can access your data
You can grant trusted third-party applications access to your Optimizely Web Experimentation 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 Web Experimentation data by going directly to the Registered Apps tab in your Account Settings..
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 Web Experimentation'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 window, enter the Application Name and Redirect URI and select a Client Type (Public or Confidential).