Skip to main content
POST
Search audiences

Authorizations

Authorization
string
header
required

Body

application/json
query
string
required

Required. Text to match against audience names and descriptions.

dataset_codes
null | string[]

Optional. Dataset codes from GET /datasets to scope the search.

exclude_audience_ids
null | string[]

Optional. Audience UUIDs to leave out of the results.

limit
null | integer

Optional. Maximum number of results, 1-100.

Response

Successful response.

audiences
object[]
required

Matching audiences. Pass audiences[].id as enforced_audiences to POST /insights/generate.