Skip to main content
GET
/
api
/
notifications
/
subscribe
Get VAPID public key
curl --request GET \
  --url https://serengo.zias.be/api/notifications/subscribe \
  --header 'Authorization: Bearer <token>'
{
  "publicKey": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

VAPID key

publicKey
string