Notifications
Get room notification settings
Changed onDeprecated. Renamed to /subscription-settings. Read more in our migration guide.
This endpoint returns a user’s subscription settings for a specific room. Corresponds to liveblocks.getRoomNotificationSettings.
get/rooms/{roomId}/users/{userId}/notification-settings
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/users/{userId}/notification-settings
- Auth: none declared
Path parameters
roomIdstring required
ID of the room
Example:my-room-id
userIdstring required
ID of the user
Example:user-123
Response
Success. Returns the user's notification settings for the specified room.
Example response
{
"threads": "all",
"textMentions": "mine"
}Changes
- info
api operation id
get-rooms-roomId-users-userId-notification-settingsremoved and replaced withget-room-notification-settings - info
api tag
Notificationsadded - info
api tag
Deprecatedremoved - info
endpoint deprecated
- info
the response property
became required for the status - info
the response property
became required for the status
- info
- info
api tag
Deprecatedadded - info
api tag
Notificationsremoved - info
added the optional property
to the response with the status
- info