Skip to main content
GET
/
api
/
v1
/
ws
/
webCall
WebSocket endpoint for web calls
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/ws/webCall', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Query Parameters

token
string
required

Web integration token for authentication

authorization
string

Bearer token for user authentication (alternative to Authorization header)

Response

Switching Protocols - WebSocket connection established