Mark Channel as Unread

Prev Next
Post
/api/v1/subscriptions.unread

Mark messages as unread by room ID or from a message.

Version Description
0.65.0 Added
Header parameters
X-Auth-Token
stringRequired

The token of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The user ID of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Body parameters
Collapse all
AnyOf
object
object
roomId
string Required

The room ID.

object
object
firstUnreadMessage
object Required
_id
string

The message ID.

Responses
200
400
401

OK

object
success
boolean