Skip to main content
POST
Join audiences

Authorizations

Authorization
string
header
required

Body

application/json
audiences
string[]
required

Required. Two or more audience UUIDs from POST /audiences/search or POST /audiences/generate.

Minimum array length: 2
join_type
enum<string>
required

Required. and for an intersection; or for a union. Intersections require location_codes and wave_codes.

Available options:
and,
or
name
string

Optional. Name for the joined audience. Generated when omitted.

location_codes
null | string[]

Optional. global_filters.location_codes from POST /global-filters. Required when join_type is and.

wave_codes
null | string[]

Optional. global_filters.wave_codes from POST /global-filters. Required when join_type is and.

Response

Successful response.

id
string
required

UUID of the joined audience. Pass it as enforced_audiences in POST /insights/generate.

name
string
required

Name of the joined audience

description
string
required

Short description of the joined audience

datasets
string[]
required

Dataset codes the joined audience belongs to

is_simulated
boolean
required

True when the joined audience is based on simulated data