Skip to main content
PUT
/
api
/
auth
/
settings
/
notifications
{
  "email_notifications": true,
  "sms_notifications": false
}
{
  "message": "Notification settings updated successfully",
  "email_notifications": true,
  "sms_notifications": false
}
Update user notification preferences.
email_notifications
boolean
Enable/disable email notifications
sms_notifications
boolean
Enable/disable SMS notifications

Request Example

{
  "email_notifications": true,
  "sms_notifications": false
}

Success Response (200)

message
string
Success message
email_notifications
boolean
Email notifications status
sms_notifications
boolean
SMS notifications status
{
  "message": "Notification settings updated successfully",
  "email_notifications": true,
  "sms_notifications": false
}