View
See create to see an introduction about Audience API.
API Description
Get information about an audience.
The name of the existing audience you want to view.
The indexing token returned by the create, replace, update or remove routes.
The unique project key, identifying a project on the Batch platform
project_0664hxvwffvbpn278gxdyhsadddqgna6
Request structure
Route
The Audience API exposes a GET endpoint that allows to get information about a audience :
https://api.batch.com/2.4/audiences/view
Headers and authentication
See Overview → Using Project APIs.
Query parameters
See the API Description.
Responses
Success
If the GET to the API endpoint is successful you will receive an HTTP 200 confirmation and information about your audience.
The indexing state is the indexing state of the update that returned the given indexing token
. If there is no indexing token provided, the state of the last update will be used.
3 values are possible for indexing state
IN_PROGRESS
: update processing is in progressAPPLIED
: update processing is finishedREPLACED
: the audience content has been replaced since the issue of the indexing token.
Failure
If the POST data does not meet the API requirements you will receive an actionable error message. Contact us at [email protected] if you need further support.
See the list of potential failures in the API Description.
Last updated
Was this helpful?