The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.
Dev guideRecipesAPI ReferenceChangelog
Dev guideAPI ReferenceRecipesChangelogUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Create an Audience

Create an Audience for a Project

Body Params

A string in JSON format that includes all the fields to create an Audience

boolean
Defaults to false

Whether the Audience has been archived

string

A string defining the targeting rules for an Audience

string

A short description of the Audience

int64

Number of experiments by audience_id

boolean
Defaults to false

Whether the Audience has been part of journey or not

boolean

Whether or not Audience is a classic Audience. If true, the Audience is only compatible with classic Experiments. Otherwise, the Audience may be used in Optimizely X Campaigns.

string

The name of the Audience

int64
required

The ID of the Project the Audience was created in

boolean
Defaults to false

True if the Audience is available for segmentation on the results page (Audiences can only be used for segmentation in Optimizely Classic). Set to False if you intend to use this Audience only in Optimizely X. Note that a maximum of 10 Audiences can have segmentation set to True in any given Optimizely Classic project.

Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json