Skip to main content
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
    }
  ]
}
Retrieves the notification preferences for the current user.

Required Permissions

  • notifications:preferences:read

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Responses

āœ… 200 - Notification preferences retrieved successfully

āš ļø 401 - undefined

āŒ 500 - undefined

Tags

Notifications

Authorizations

Authorization
string
header
required

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

Response

Notification preferences retrieved successfully

status
string
Example:

"success"

message
string
Example:

"Notification preferences retrieved successfully"

data
object[]
⌘I