Subscribe devices to web push and send test notifications.
Overview
SchedKit uses Web Push (VAPID) to deliver notifications to subscribed browsers. Notifications fire automatically on alert signals, urgent/high incidents, and upcoming assignments.
Endpoints
Method
Path
Description
GET
/v1/push/vapid-public
Get VAPID public key
POST
/v1/push/subscribe
Register a push subscription
DELETE
/v1/push/subscribe
Remove a push subscription
POST
/v1/push/test
Send a test notification
GET /v1/push/vapid-public
Returns the VAPID public key needed to subscribe a browser.
{ "publicKey": "BIa_HKGuR_doeyRc..." }
POST /v1/push/subscribe
Register a browser’s push subscription with SchedKit.