Create an audience
Creates a named audience — a subtype-agnostic composition wrapper that references one or more segments (include or exclude role) for delivery.
Audiences are always status: active immediately on creation. The underlying segments determine data readiness — only deliver an audience after all its include-role segments are active.
Composition options:
-
Use segment_refs (preferred) to specify each segment and its role (include or exclude) explicitly.
-
Use segment_ids / excluded_segment_ids (convenience shorthand) as a flat list when all included segments share the same include role.
-
Use set_logic to control how multiple include-role segments are combined: union (default) — a record matches ANY included segment (OR) — or intersection — a record must match EVERY included segment (AND).
-
Excluded segments are always subtracted from the composed include result (AND NOT), regardless of set_logic: result = (included segments combined by set_logic) MINUS (excluded segments).
To create matched, similarity, or propensity segments, use POST /v1/segments. An unknown campaign_id returns 400 INVALID_CAMPAIGN_ID and nothing is created. Requires 'creator' scope.
Request
- Base URL: https://api.infiniteaudience.ai
- URL: https://api.infiniteaudience.ai/v1/audiences
- Auth: HTTP bearer
Request body
Response
Audience created.
Changes
No recorded changes to this operation across all 1 revision of this API.