Skip to main content
GET
/
api
/
notifications
/
preferences
Get notification preferences
curl --request GET \
  --url https://serengo.zias.be/api/notifications/preferences \
  --header 'Authorization: Bearer <token>'
{
  "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.

Response

200 - application/json

Preferences

friendRequests
boolean
friendAccepted
boolean
findLiked
boolean
findCommented
boolean
pushEnabled
boolean