Join Chat Session as Human Agent
POST/v1/chat/sessions/:session_id/join
Live human takeover (issue #357): mint a scoped LiveKit token for the
session's text room with identity human_agent:{user_id}. While that
participant is connected the chat worker stops auto-replying and the
visitor chats with the human; on leave/inactivity the agent resumes.
Dashboard JWT only — API keys are org-scoped machine principals with no human behind them, so they cannot take over a conversation. 404 for unknown/cross-org sessions, 409 for closed or room-less (REST-transport) sessions.
Request
Responses
- 200
- 422
Successful Response
Validation Error