GET
/
notifications
/
preferences
Get Notification Preferences
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/notifications/preferences \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "Notification preferences retrieved successfully",
  "data": [
    {
      "channel": "email",
      "enabled": true
    },
    {
      "channel": "push",
      "enabled": false
    },
    {
      "channel": "in_app",
      "enabled": true
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

200
application/json

Notification preferences retrieved successfully

The response is of type object.