Skip to content

Update notification settings

Updates the authenticated user’s notification settings.

POST
/v1/user/notification-settings
curl --request POST \
--url https://api.shiftsync.app/v1/user/notification-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "friendRequestEmail": true, "friendRequestPush": true }'
Media typeapplication/json
object
friendRequestEmail
boolean
friendRequestPush
boolean
Example
{
"friendRequestEmail": true,
"friendRequestPush": true
}

The updated notification settings

Media typeapplication/json
object
friendRequestEmail
boolean
friendRequestPush
boolean
Example
{
"friendRequestEmail": true,
"friendRequestPush": true
}