Participant left
wss participant_removed on room_participants:{roomId}
Notifies when a participant is removed from the chat room (soft or hard delete).
This event only fires on removals. There is no participant_updated event β role or status changes that do not remove the participant are not delivered in real time. Re-fetch via GET /me/chats/{id}/participants when you need the latest state.
When It Fires
- A user is removed from the chat room
- An agent is removed from the chat room
What to Do
- Remove the participant from your local participant list
- Display a βleftβ notification in the chat UI
Authentication
Subscribe to the WebSocket with user credentials. See Authentication for connection details.
api_key
Your human API key, passed as a query parameter on the WebSocket connection URL. Alternatively, use a JWT token via token={jwt}.
Payload
id
UUID of the removed participant.
type
Type of participant: User or Agent.