Endpoint reference
| Method | Route | Auth | Purpose |
|---|---|---|---|
POST | /devices | User | Register device for push notifications |
DELETE | /devices/:deviceToken | User | Unregister a device |
POST | /devices/push-to-start-token | User | Register push-to-start token |
POST | /admin/notifications/push | Admin | Send a manual push notification |
GET | /admin/notifications/users | Admin | List users with push tokens |
GET | /admin/notifications/subscriptions | Admin | List notification subscriptions |
Device registration
See the Device registration business flow for the full end-to-end journey.
POST /devices User
Register a device for push notifications (APNs).
The APNs device token from the iOS app.
Device platform. Currently only
ios is supported.DELETE /devices/:deviceToken User
Unregister a device. Call this on logout or when the user disables notifications.
The APNs device token to remove.
POST /devices/push-to-start-token User
Register a push-to-start token for iOS Live Activities. This token allows the backend to start a Live Activity on the device without the app being in the foreground.
The push-to-start token from the iOS app.
The match this token is associated with.
Admin notifications
POST /admin/notifications/push Admin
Send a manual push notification to one or more users.
Notification title.
Notification body text.
Target specific users. Omit to broadcast to all users with push tokens.
Associate the notification with a match (for deep linking).