Create audience

Create a new audience with the specified type and parameters.

Type-specific requirements:

  • events: Requires filter with filter rules for pixel event data.
  • intents: Requires filter with topic-based intent criteria.
  • elixir: Requires filter with Elixir dataset criteria.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Audience name.

string

Description of the audience.

string
enum
required

Audience type.

Allowed:
string
enum
required

Segmentation type.

Allowed:
uuid
required

Organization ID.

uuid
required

Project ID.

filter
object
required

A group of filter rules joined by a logical operator. Groups can be nested to create complex expressions (e.g., AND of ORs).

string

Column projection clause.

string
enum

preview to get a size estimate, unload to write output files.

Allowed:
string
enum

Schedule for automatic refresh.

  • daily: refreshes every day at 09:00 UTC.
  • weekly: refreshes every Saturday at 18:00 UTC (weekend afternoon UTC, so the weekly batch doesn't compete with daily intent refreshes at 09:00 UTC).
  • manual: no automatic refresh; the audience only refreshes when a caller hits POST /audiences/{id}/refresh or re-runs an unload manually.

When omitted, the default depends on type:

  • intents: defaults to daily (intent data is produced fresh every day).
  • elixir: defaults to weekly (Elixir source data refreshes weekly/monthly; daily renewal would re-run unloads against unchanged data).

Customers who really want daily refresh on an elixir audience can opt in by passing daily explicitly.

Allowed:
integer
1 to 14

Number of recent days of intent data to include (1-14). Only applicable to intents audiences. Default: 1.

string

Initial status.

Responses

401

Missing or invalid authentication.

403

Forbidden.

500

Internal server error.

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