The authToken of the authenticated user.
The userId of the authenticated user.
{
"roomId": "5of4weEXaH7yncxz9",
"notifications": {
"desktopNotifications": "all",
"disableNotifications": "0",
"emailNotifications": "nothing",
"audioNotificationValue": "beep",
"desktopNotificationDuration": "2",
"audioNotifications": "all",
"unreadAlert": "nothing",
"hideUnreadStatus": "0",
"mobilePushNotifications": "mentions"
}
}The channel's id
The object that contains the following parameters.
The value for desktop notifications. The options are:
- nothing
- mentions
- all
- default
The value to disable/enable channel's notifications.
The options are:
- 0
- 1
The value for email notifications. The options are:
- nothing
- mentions
- all
- default
The value for audio notification sound.
The value for desktop notification duration.
The value for audio notifications.
The options are:
- nothing
- mentions
- all
- default
The value for unread alerts notifications.
The options are:
- nothing
- mentions
- all
- default
The value to disable/enable number of unread messages. The options are:
- 0
- 1
The value for mobile push notifications.
The options are:
- nothing
- mentions
- all
- default
OK
{
"success": true
}Unauthorized
{
"status": "error",
"message": "You must be logged in to do this."
}