Back

Notifications API

Send push notifications to users with active wallet cards

Notifications API

Send push notifications to users with active wallet cards. Notifications appear on users' lock screens, linked to their wallet card.

Send Campaign Notification

POST
/campaigns/{campaignId}/notifications
Required scope: campaigns:write

Send a push notification to all recipients with active wallet cards in a campaign.

Request Parameters

ParameterTypeRequiredDescription
headerstringYesNotification header/title (max 100 chars)
bodystringYesNotification message body (max 500 chars)

Campaigns are limited to 3 notifications lifetime to prevent spam. Attempting to exceed this limit returns a 429 error with code NOTIFICATION_LIMIT_EXCEEDED.

Notifications are only sent to recipients whose wallet cards are in active status. Cards that are draft, revoked, expired, or removed are automatically skipped.

Schedule Campaign Notification

POST
/campaigns/{campaignId}/notifications/schedule
Required scope: campaigns:write

Schedule a push notification to be sent at a specific time in the future.

Request Parameters

ParameterTypeRequiredDescription
headerstringYesNotification header/title (max 100 chars)
bodystringYesNotification message body (max 500 chars)
scheduledForstringYesISO 8601 datetime when notification should be sent (must be in future, max 30 days)

Scheduling Constraints:

  • scheduledFor must be in the future
  • scheduledFor must be within 30 days from now
  • Maximum 3 notifications per campaign (lifetime, including immediate notifications)

List Scheduled Notifications

GET
/campaigns/{campaignId}/notifications/scheduled
Required scope: campaigns:read

List all scheduled notifications for a campaign, with optional filtering by status.

Get Scheduled Notification

GET
/campaigns/{campaignId}/notifications/{notificationId}
Required scope: campaigns:read

Get details of a specific scheduled notification.

Cancel Scheduled Notification

DELETE
/campaigns/{campaignId}/notifications/{notificationId}
Required scope: campaigns:write

Cancel a scheduled notification. Only notifications with pending status can be cancelled.