API reference · Broadcasts
Preview a broadcast
POST/v1/broadcasts/previewFreeHow many passes a broadcast would reach, on which phones, and whether this month's operations cover it. Sends nothing.
Body
filtersobjectWhich passes: the same search and filters as List passes, such as { "q": "gold", "appleInstalled": "true" }. Left out or empty, every active pass. An unknown filter is refused, so a typo can't reach everyone.
Answer
200OK
total active passes match, at one operation each. blocked says why it can't be sent as it stands, or is null. platform covers the test passes among them, which have their own monthly limit.
Errors
Every error has the same shape: see Errors.
| Status | Code | When |
|---|---|---|
| 400 | validation_error | A filter isn't valid, or isn't one. |
| 422 | unknown_issuer | No issuer with that slug here. |