Notifications
Get notification settings
Changed onThis endpoint returns a user's notification settings for the project. Corresponds to liveblocks.getNotificationSettings.
get/users/{userId}/notification-settings
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/users/{userId}/notification-settings
- Auth: none declared
Path parameters
userIdstring required
ID of the user
Example:user-123
Response
Success. Returns the user's notification settings for the project.
Example response
{
"email": {
"thread": true,
"textMention": false,
"$customNotification": true
},
"slack": {
"thread": true,
"textMention": true,
"$customNotification": false
},
"teams": {
"thread": false,
"textMention": true,
"$customNotification": true
},
"webPush": {
"thread": true,
"textMention": true,
"$customNotification": false
}
}Changes
- info
api operation id
get-users-userId-notification-settingsremoved and replaced withget-notification-settings
- info
- info
endpoint added
- info