The Audiences API is a core component of the Antavo Loyalty Cloud that allows you to create, manage, and use customer audiences and make them available across multiple Antavo products.
Its primary goal is to provide a shared customer grouping layer that can be used consistently across products such as the Loyalty Engine and Promotion Engine.
Audiences represent groups of customers that can be targeted for personalization, segmentation, and campaign execution.
Using the Audiences API endpoints, you can:
- Create new audiences
- Update audience details and criteria
- Delete existing audiences
- Retrieve a list of audiences with filtering and sorting
- Add customers to an audience
- Remove customers from an audience
The API is also useful when audiences are defined or managed in an external system and need to be made available in Antavo for reuse across supported products and functionality. Audience data and membership can be passed to Antavo through the API and then used in Loyalty Engine, Promotion Engine, and other supported features.
NoteThe Audiences module must be enabled to access audience functionality in the Management UI and use audiences in supported Antavo features.
Static audiences
Currently, the Audiences API supports only static audiences. This means that audience membership is explicitly managed via API calls, typically by an external system. Automatic updates based on customer behavior are not available. Support for dynamic audiences (segments that update automatically based on activity such as points earned or actions completed) is planned for a future release.
Asynchronous operations
Membership updates are processed asynchronously to ensure scalability.
When customers are added to or removed from an audience, the request is accepted and processed in the background, often in large batches. Because of this, the system provides eventual consistency rather than real-time updates.
While the API confirms that a request has been accepted, there is currently no detailed progress tracking available for these background operations. Optionally, a callback URL can be provided to receive a notification once processing is completed.
The callback_url must be configured as a Trusted Site in the Management UI. The callback request has a timeout of 1 second. If you need a longer timeout, please contact the Antavo Service Desk.
Platform integrations
Audiences are integrated across multiple areas of the Antavo platform:
Promotion Engine
Audiences can be used for segmentation in Promotions, enabling consistent audience usage across campaigns.
Loyalty Engine (beta)
Customer Insights
Under Customer Insights, audience membership is visible per customer to track which audiences a customer belongs to.
Workflows
Audience-based functionality is also available in Workflows, where membership changes can trigger automated processes. Customers can be added to or removed from audiences via the Management UI, and these changes generate events (add_to_audience and remove_from_audience) that can be used as workflow triggers.
NoteUsing the Add customers to audience endpoint does not register an
add_to_audienceevent in the customer’s event history. Similarly, using the Remove customers from audience endpoint does not register aremove_from_audienceevent. These events are registered when the corresponding audience membership actions are performed through Workflows.
Rewards and Challenges (Beta)
Audiences can be used for segmentation in reward and challenge configurations, including import and export processes. Audience support in these modules is currently available in beta.
API principles
The Audiences API follows RESTful principles, utilizing standard HTTP methods to interact with resources. All responses are formatted in JSON, ensuring easy integration into user interfaces.
Security and compliance
All server-to-server calls must comply with the API authentication requirements and adhere to the defined API rate limits.
The Audiences API uses Bearer token authentication, with access tokens issued by the /v1/auth/token endpoint of the Authentication API.

