Notifications
Send to a pass
Shows a message on one holder’s pass, now or at a set time.
POST
Use this for a message meant for one holder, such as “Your table is ready”. To message every holder of a template, send to a template. To change a value on the pass and alert the holder about it, update the pass with
Texts for a wallet the pass isn’t issued for are ignored.
notificationMode: "notify" instead.
How it reaches each wallet:
- Apple Wallet: the text replaces the pass’s Message for you field on the back, and Wallet shows it on the lock screen. Apple only alerts when the text changes, so a text identical to the current one is rejected.
- Google Wallet: the title and body appear as a message on the pass. Google allows 3 notifications per pass in 24 hours. Beyond that, the message is added without an alert.
string
required
The pass ID.
string
required
A unique value, such as a UUID, so a retry never sends twice. See Idempotency.
string
The Apple Wallet message, up to 120 characters. Required when the pass is issued for Apple Wallet.
string
The Google Wallet message title, up to 60 characters. Required when the pass is issued for Google Wallet.
string
The Google Wallet message body, up to 500 characters. Required when the pass is issued for Google Wallet.
string
When to send it, as an ISO 8601 time from 5 minutes to 24 hours from now. Leave it out to send now.
Response
Returns the new notification with status201. Its status is queued when it’s sent now, or scheduled.