Chat room detail

GET/chat-rooms/:id

Retrieve a chat room and its members. Only room members can access it.

AuthLogin required

Path parameters

idstringrequired

Chat room ID.

Request
curl https://api.4s.link/chat-rooms/ID \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"id": "r1a2b3c4-...",
"type": "GROUP",
"name": "Project Team",
"members": [
{
"id": "rm1a2b3-...",
"status": "JOINED",
"user": { "id": "a1b2c3d4-...", "slug": "taro", "firstName": "太郎", "lastName": "山田", "avatarUrl": "https://.../avatar.png" }
}
],
"lastMessage": { "id": "m1a2b3c4-...", "content": "よろしくお願いします", "createdAt": "2026-08-18T00:00:00.000Z" },
"unreadCount": 0
}