Trying to spin up a custom chat UI using the raw WebSocket Guest API. Handshake to wss://api-us-east-1.nice-incontact.com/api/v2/interactions/messaging/ws returns a 403. We’re sending the Authorization: Bearer header with a valid token from the OAuth endpoint.
ws = new WebSocket(url, {
headers: {
'Authorization': 'Bearer ' + token
}
});
The widget works fine, so the org config is good. Is there a specific claim or scope missing for direct WS connections?