Skip to main content
POST
Create Audience

Authorizations

X-Api-Key
string
header
required

Body

application/json
name
string
required
filters
object
required

Filter criteria for audience selection. All array fields must be passed as arrays even for single values.

segment
string[]

Optional list of audience segment IDs. Use the full exact ID including its prefix in the current taxonomy nomenclature:

  • b2c_<number> — consumer (B2C) segments, e.g. b2c_1254
  • b2b_<number> — business (B2B) segments, e.g. b2b_1042

Pass the complete ID with its prefix. Bare numbers (1253) and the legacy Delivr format (al_XXXXXX) are not supported.

Example:
days_back
integer

Response

Audience created successfully

audienceId
string
Example:

"812b78c3-83e6-4d6a-8245-def0dde26223"