Skip to main content
POST
/
api
/
notifications
/
subscribe
Subscribe to push notifications
curl --request POST \
  --url https://serengo.zias.be/api/notifications/subscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscription": {}
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
subscription
object
required

Response

200

Subscribed