External Chat Session Websocket
This request is used to get the websocket connection URL for the exernal chat session events.
When connected events are sended over the websocket connection about the session (new chats, read events, …).
Resource
GET https://<HOST>/portal/chat/<TENANT>/gateways/<GATEWAY_ID>/sessions/<SESSION_ID>/websocket
Where 'GATEWAY_ID' is the id of the gateway and 'SESSION_ID' is the id of the session.
Parameters
None
Payload
None
Context
Authorization |
Authorized by token: |
Errors
HTTP code | Description |
---|---|
400 |
Missing tenant, gateway id |
500 |
General error, gateway not found, session not found or not linked to this gateway |
Example
Request
GET https://xelion.nl/portal/chat/master/gateways/1234567/sessions/2045858/websocket
Response
{
"object": "wss://arno.xelion.nl/websocket/-1/1816134/2045869/FTEby8WCyGkcAxLz"
}