/audiences

Update audience definitions. Use GET /audiences to confirm the updated audience.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Submit an audience update using a JSON body containing key, private_key, and an audiences array. Include the existing generated id, the desired name, and conditions. The example supplies the complete object fields rather than an ID-and-name-only update.

The Internal error response example shows an unsuccessful request, not an acknowledgement. When status is error, do not assume that the audience changed. Use GET /audiences to verify the stored definition.

Check status in the response body even when HTTP 200 is returned. Keep your private API key on your server.

Body Params
string
required

Your Store's public API key.

string
required

Your Store's private API key. Keep it on your server.

audiences
array
required

A JSON array of audience objects. See the complete example and field requirements above.

audiences*
Response

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json