Pre-send validation for a broadcast: the parallel to segment preview. For
the broadcast's pinned template version and resolved audience it
classifies every declared template variable (attribute, reserved, or
unbound) and computes per-variable coverage over the current audience
population — what fraction is resolved by a contact attribute, falls back
to default_template_data, or renders blank — plus a small rendered
sample.
Read-only: it never mutates the broadcast. Runs under the same ClickHouse
query governors segment preview uses. Returns 422 validation_failed when
the template version has no renderable content or the audience cannot be
resolved (e.g. an invalid segment predicate); unresolved variables are
surfaced in the body, not raised.
Path parameters
idstring<uuid>required
Resource UUID. An unparseable id reads as a clean 404 not_found.
Responses
200 The computed previewapplication/json
401 Missing, malformed, or unknown API keyapplication/problem+json
403 Key lacks the required scope or plan limit violatedapplication/problem+json
404 Resource not foundapplication/problem+json
422 Query parameter or path value failed validationapplication/problem+json
500 Unexpected server-side failure. The code is internal_error. The
request_id field can be quoted to SendOps support to investigate.
application/problem+json