Endpoint
viewId, then attach this connection to the returned session. It keeps that view alive without background JavaScript timers. It carries presence only; use the existing live stream for video and controls.
First Message
Send a JSON attachment within five seconds of opening the socket. Credentials belong in this message, never in the URL.Optional organization selector, with the same membership rules as
X-Phonesinc-Organization on
HTTP requests. The client carries its configured selector into this attachment.{ "type": "ready" } after authentication and ownership checks. A refusal sends { "type": "error", "message": "..." } and closes the connection. Wait for ready before treating the view as connected. Authorization is rechecked during the connection; reconnect with a fresh token when necessary.