WalletPassAPI Docs

API reference · Broadcasts

Preview a broadcast

POST/v1/broadcasts/previewFree

How many passes a broadcast would reach, on which phones, and whether this month's operations cover it. Sends nothing.

Body

filtersobject

Which 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.

StatusCodeWhen
400validation_errorA filter isn't valid, or isn't one.
422unknown_issuerNo issuer with that slug here.