An audience represents a group of contacts that can be targeted by Fin.
predicatesArray of objects(Predicate)
The predicates that define the audience matching rules.
Example:
[ { "attribute": "company.name", "type": "string", "comparison": "eq", "value": "Intercom" } ]
role_predicatesArray of objects(Predicate)
The role predicates that define audience role-based matching rules.
Example:
[ { "attribute": "role", "type": "role", "comparison": "eq", "value": "user" } ]
{ "type": "audience", "id": "123", "name": "VIP Customers", "predicates": [ { … } ], "role_predicates": [ { … } ], "created_at": 1717200000, "updated_at": 1717200000 }