Home//
REST API Reference
/- Retrieve an audience
List all audiences
Create an audience
Update an audience
Delete an audience
Audience
Retrieve an audience
You can fetch the details of a single audience by making a GET request to https://api.intercom.io/audiences/{id}.
Requires the read_audiences or read_write_audiences OAuth scope.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.17
- The production API serverhttps://api.intercom.io/audiences/{id}
- The european API serverhttps://api.eu.intercom.io/audiences/{id}
- The australian API serverhttps://api.au.intercom.io/audiences/{id}
curl -i -X GET \
https://api.intercom.io/audiences/123 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.17'Audience found
The name of the audience. Returned HTML-escaped, for example & as &.
Example:"VIP Customers"
predicatesArray of objects(Predicate)
The predicates that define which contacts belong to the audience.
Example:
[ { "attribute": "company.name", "type": "string", "comparison": "contains", "value": "Acme" } ]
role_predicatesArray of objects(Predicate)
Role-based predicates that further filter audience membership by contact role.
Example:
[ { "attribute": "role", "type": "role", "comparison": "in", "value": [ … ] } ]
Response
{ "type": "audience", "id": "123", "name": "VIP Customers", "predicates": [ { … } ], "role_predicates": [ { … } ], "created_at": 1717200000, "updated_at": 1717200000 }