Notifications

Get notification settings

Changed on

This 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