Mark messages as read

PUT/chat-rooms/:roomId/read

Mark the room's messages as read, resetting the unread count to zero.

AuthLogin required

Path parameters

roomIdstringrequired

Chat room ID.

Request
curl https://api.4s.link/chat-rooms/ROOM_ID/read \
-X PUT \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"chatRoomId": "r1a2b3c4-...",
"lastReadAt": "2026-08-18T00:00:00.000Z",
"unreadCount": 0
}