Create live ticket
/api/live/ticketsA one-use ticket for opening the live updates WebSocket from a browser. Lasts sixty seconds and works once. It stands for whoever asked for it.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/live/tickets"{ "ticket": "string", "expiresAt": "2019-08-24T14:15:22Z"}Get raw profile GET
The public profile and the full user object, each as VRChat returned it on the last successful read. The user object is stored without instance locations, the account's private note and the friend key, which Modbot never keeps. Needs the `ViewProfile` permission.
Live updates socket GET
Authenticate with `?ticket=` from POST /api/live/tickets, or `Authorization: Bearer mbk_...`. `?after=` is the cursor to carry on from; without it the stream starts from now. Events arrive as `{"kind":"event","event":{...}}`. See https://docs.modbot.co/api/live-updates/.