Update an audience
Fully replaces the audience's name, segment_ids, excluded_segment_ids, and set_logic with the provided values. Audiences are subtype-agnostic composition wrappers — to change which segments are composed, update the segment ID lists here.
Composition model: set_logic: union combines included segments with OR (match ANY); intersection combines them with AND (match EVERY). Segments in excluded_segment_ids are always subtracted from that result (AND NOT), regardless of set_logic.
Count invalidation: changing the segment composition clears the cached record_count. Call POST /v1/audiences/{id}/count after updating to recompute it. The record_count will be null until recomputed.
Versioning: the audience version is incremented on every successful PUT. Previously completed deliveries at prior versions remain accessible in delivery history.
The update itself emits no billable usage. Requires 'creator' scope.
Request
- Base URL: https://api.infiniteaudience.ai
- URL: https://api.infiniteaudience.ai/v1/audiences/{id}
- Auth: HTTP bearer
Path parameters
Request body
Response
Updated audience.
Changes
No recorded changes to this operation across all 1 revision of this API.