Skip to main content
POST
Generate audiences

Authorizations

Authorization
string
header
required

Body

application/json
audiences
null | string[]
required

Required. 1-10 natural-language audience descriptions, for example: Gen Z, F1 fans.

Maximum array length: 10
dataset_codes
null | string[]

Optional. Dataset codes from one tree in GET /datasets.

wave_codes
null | string[]

Optional. global_filters.wave_codes from POST /global-filters.

location_codes
null | string[]

Optional. global_filters.location_codes from POST /global-filters.

Response

Successful response.

audiences
object[]
required

Created or matched audiences. Reuse audiences[].id instead of generating again.

failed_audiences
object

Error message for each audience description that could not be created or matched, keyed by description