API Reference
Push Notifications
Subscribe to push notifications
Creates a new Web Push subscription for the authenticated user.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredPush subscription request
deviceNamestringendpointstringkeysobjectuserAgentstringCreated
Unsubscribe from push notifications
Removes a Web Push subscription by endpoint URL.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredUnsubscribe request
endpointstringNo Content
List push subscriptions
Returns all Web Push subscriptions for the authenticated user.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Get VAPID public key
Returns the VAPID public key for Web Push subscription.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Was this page helpful?