Skip to main content
POST
Create an audience

Authorizations

Authorization
string
header
required

Your personal access token where supported, or a scoped API key (hc_…) created inside HueChat at Account → Developer API. Send it as Authorization: Bearer <token>.

Path Parameters

accountId
integer
required

HueChat account ID

Body

application/json

Audience definition

conditions
object
description
string
Example:

"Customers eligible for the loyalty journey"

name
string
Example:

"Saudi gold customers"

revision
integer
Example:

3

Response

OK

The response is of type object.