- CXone Environment: US-1
- Component: Custom Chat UI (Node.js)
- Auth: Server-side OAuth2 Client Credentials
Does anyone know why the WebSocket handshake to wss://api.cxone.com/api/v2/webchat/guests/{guestId}/chat returns a 403 Forbidden, while the identical token works for POST /api/v2/webchat/guests? The docs state “The same access token used to create the guest must be used to initiate the WebSocket connection,” but my Node client gets rejected immediately after the guest is created. Is there a specific header required for the WS upgrade that differs from the standard REST calls I usually handle in Studio SNIPPET actions?