get https://mytenant.cx.onecloud.com/clientweb/api/v2/chats//events
This method returns new chat events for the current session. If there are no new events, the server can keep the request active during a timeout (i.e., for about 5–15 seconds). If the client sends another request to get new events while the previous request is kept active, the server will respond with error 400 (Bad request).
Returns
Code | Description |
---|---|
200 | Array of chat events (content type: application/json) |
Errors
Code | Description |
---|---|
403 | Forbidden |
404 | Not Found |
429 | Too many requests |