Skip to main content
POST
Create an audience

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Body

application/json
title
string
required

Audience title.

Maximum string length: 70
name
string
required

Targeting value sent to the ad server.

Maximum string length: 70
Pattern: ^[a-zA-Z0-9_\- ]+$
targets
Targets · object
required

Filters that define who is in it, one list per type. Rejected only when all seven lists are sent and every one is empty.

description
string | null

Audience description.

key
string

Targeting key sent to the ad server. Defaults to ci_audience.

Maximum string length: 20
Pattern: ^[a-zA-Z][a-zA-Z0-9_]+$
enabled
boolean

Accepted but ignored. Use the enable endpoint.

backfill_enabled
boolean

Accepted but ignored.

Response

Created: The audience was created.

results
object
required

The audience. Other columns of the audience record may also be present.

success
enum<boolean>
required

Always true on success.

Available options:
true