Skip to main content
POST
/
api
/
notifications
/
preferences
Update notification preferences
curl --request POST \
  --url https://serengo.zias.be/api/notifications/preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "friendRequests": true,
  "friendAccepted": true,
  "findLiked": true,
  "findCommented": true,
  "pushEnabled": true
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
friendRequests
boolean
friendAccepted
boolean
findLiked
boolean
findCommented
boolean
pushEnabled
boolean

Response

200

Preferences updated