v4
latestOpenAPI 3.0.02026-08-04109113304.5 KBAudiences
Create an Audience
Create an Audience for a Project
post/audiences
Request body
Example request
{
"conditions": "[\"and\", {\"type\": \"language\", \"value\": \"es\"}, {\"type\": \"location\", \"value\": \"US-CA-SANFRANCISCO\"}]",
"description": "People that speak spanish and are in San Francisco",
"experiment_count": 123,
"id": 5000,
"name": "Spanish speaking San Franciscans",
"project_id": 1000
}Response
Return the created Audience
Example response
{
"conditions": "[\"and\", {\"type\": \"language\", \"value\": \"es\"}, {\"type\": \"location\", \"value\": \"US-CA-SANFRANCISCO\"}]",
"description": "People that speak spanish and are in San Francisco",
"experiment_count": 123,
"id": 5000,
"name": "Spanish speaking San Franciscans",
"project_id": 1000
}