notifications
Get notification preferences
Get notification preferences for the current user. Returns all available types with their enabled status. New users have all types enabled by default. New notification types added in the future are automatically enabled for all users.
get/api/notifications/preferences
Response
Successful Response
Example response
{
"enabled_types": {
"booking": true,
"chat": true,
"daily_evening": true,
"daily_morning": false,
"event": true,
"general": true,
"payment": false,
"subscription": true
},
"types": [
{
"enabled": true,
"type": "chat"
},
{
"enabled": true,
"type": "booking"
},
{
"enabled": false,
"type": "payment"
}
]
}