Realtime
Get a WebSocket ticket
A one-time ticket, valid for 30 s, to open the WebSocket.
POST/v1/ws_ticket
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/ws_ticket |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_). |
Response
201 · application/json
Issued.
ticketstringrequiredSingle-use ticket, already insideurl.urlstring (uri)requiredWss://…/v1/ws?v=1&ticket=…, ready to open.expires_in30requiredSeconds the ticket stays valid.
Errors
- 401
unauthorized: No token, or the token expired or was revoked. - 429
rate_limited: Too many requests. Wait the number of seconds in the Retry-After header.
Nothing found. Try a method name, such as send event.