Find IDs for API calls

  • Updated
  • Optimizely Web Experimentation
  • Optimizely Performance Edge
  • Optimizely Feature Experimentation
  • Optimizely Full Stack (Legacy)

Troubleshooting and using an Optimizely Experimentation REST APIs requires access to various IDs.

For example, masking descriptive names in Optimizely Web Experimentation or Optimizely Performance Edge prevents seeing the name of a variation or campaign in the console. Instead, the JavaScript API, console log, and network panel return a masked identifier: a string of numbers. This is great for privacy, but challenging to troubleshoot.

Based on what type of Experimentation project you have, you can use the API Names tab to find:

  • Account ID (for the specific Experiment or Campaign).
  • Experiment or Campaign IDs.
  • Variation IDs.
  • Audience IDs.
  • Page IDs.
  • Event IDs.
  • Project IDs.
  • Flag IDs.
  • Rule IDs.
  • Environment Keys.

For information about Account IDs, see Access the Account ID and Multi-account login in Optimizely Experimentation.

Optimizely Web Experimentation and Optimizely Performance Edge

  1. Go to your Optimizely Web Experimentation or Optimizely Performance Edge project.
  2. Select your experiment or campaign.


  3. Select the API Names tab.


    The API Names tab contains various unique identifiers that you can use with Optimizely Web Experimentation APIs and Optimizely Performance Edge APIs

Optimizely Full Stack (Legacy)

  1. Go to your Optimizely Full Stack (Legacy) project.
  2. Select your A/B Experiment, Feature Test, or Multi-armed Bandit.
  3. Select the API Names tab.


    The API Names tab contains various unique identifiers, such as the Account ID, Project ID and Experiment ID, that you can use with Optimizely Full Stack (Legacy) APIs and SDKs

Optimizely Feature Experimentation

  1. Go to your Optimizely Feature Experimentation project.
  2. Select your flag.
  3. Select the API Values tab. 
  4. Select the Environment and Rule for which you wish to view the ID and Keys.


    This page contains various unique identifiers and keys for your flag and rules that you can use with the Optimizely Feature Experimentation APIs and SDKs

    You must have at least one rule added to an Environment for it to appear on the API Values tab.

    If there are no rules added, you will see the following message: