User APIs/Notification Settings
Update Notification Preferences
PATCH
/user/notification-preferencesBearer token required
ADMIN | USERContent-Type:
application/jsonRequest Example
JSON
{
"quietHoursEnabled": true,
"quietStart": "22:00",
"quietEnd": "07:00",
"soundEnabled": true
}Code Examples
curl -X PATCH 'https://<your-domain>:3001/user/notification-preferences' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"quietHoursEnabled": true,
"quietStart": "22:00",
"quietEnd": "07:00",
"soundEnabled": true
}'