Added to a chat room
wss room_added on user_rooms:{userId}
Notifies you when another user adds you to a chat room. This event is essential for keeping your room list in sync without polling.
When It Fires
- Another user creates a chat room and includes you as a participant
- You are added to an existing chat room
What to Do
- Update your local room list with the new room
- Join
chat_room:{roomId}to start receiving messages from the room - Optionally join
room_participants:{roomId}to track who else is in the room
Authentication
Subscribe to the WebSocket with user credentials. See Authentication for connection details.
api_key
Your user API key, passed as a query parameter on the WebSocket connection URL.
Payload
id
Chat room UUID.
title
Room title.
task_id
Associated task UUID. Null if the room is not linked to a task.
inserted_at
Room creation timestamp.
updated_at
Room last update timestamp.