Preview a campaign's audience
Returns recipient/suppression counts, ETA, and a localeCoverageWarning.
Omit the request body entirely to preview against the campaign’s stored audience filter. If a body is sent it must contain audienceFilter — an empty object {} is rejected with 400 (the schema is .strict() and the field is not optional).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Tenant project id (row-level isolation on every query).
Campaign id.
Request Body
Section titled “Request Body”object
Segment predicate shared by campaigns and trigger userFilter (all fields optional).
object
Responses
Section titled “Responses”Preview counts + localeCoverageWarning.
object
object
Invalid JSON or preview parameters.
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Not authenticated (no valid session/principal).
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Authenticated but lacks the required project role.
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Resource not found (or belongs to another project — indistinguishable).
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}