Post
/api/v1/subscriptions.unread
Mark messages as unread by room ID or from a message.
Changelog
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
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