Create audience

Creates a new audience definition. name is required; enabled, tags, and component_references are optional. New audiences default to enabled. Tags must be 255 characters or fewer each; the resolved name must also be 255 characters or fewer. Returns the created audience.

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

Body of a POST /v1/audiences request.

component_ids
array of strings
component_ids
component_references
array of objects
component_references

Whether the audience evaluates at runtime. Defaults to true when omitted. Provide a literal boolean or a buildtime evaluatable that resolves to a boolean.


Static enabled

required

Display name for the audience. Provide a literal string (provided@buildtime:My audience) or any buildtime evaluatable that resolves to a string. Must be 255 characters or fewer once resolved.


Static name

tags
array of strings

Free-form tags applied to the audience. Used to organise audiences in the dashboard and to filter them in API queries. Each tag must be 255 characters or fewer.

tags
Responses

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