Skip to main content
Outbound

Preview an Outbound audience

Estimate the audience for the same public audience object used by create and PATCH. Fields, operators, and value types are validated from workspace metadata. Explicit everyone:true selects all people of the selected types. Returns a bounded count and sample rows, not a guaranteed send count: schedules, browser triggers, subscriptions and delivery limits still apply. Recipient identity data requires manage_outbound and view_users; MCP Writer cannot call this endpoint.

POST
/v2/outbound/audience/preview
Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-09-03.pulsar, 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-09-03.pulsar

Body

application/json
audienceobjectrequired

Explicit delivery audience. Defaults: types=[users], mode=dynamic. Use everyone:true only when all people of the selected types are intended. Email supports users only. Banners and surveys support dynamic mode only.

Response

application/json

Success

dataobject[]required

Sample of matching people

objectenum<string>required

Object type identifier

Available options: outbound_audience_preview
Example: outbound_audience_preview
totalCountnumber | nullrequired

Matching people, or null when the count could not be computed in time

Example: 1250
totalCountCapnumberrequired

Upper bound applied to the count

Example: 10000
totalCountIsCappedbooleanrequired

Whether totalCount stopped at totalCountCap

Example: false