Modbot Docs

Live updates polling

GET/api/live/poll

Returns events after after at once when there are any, up to limit (default 100, at most 500); otherwise waits up to wait seconds (default 30, at most 60) for one and returns an empty list. No after means from now. Send the returned cursor back as after; more means poll again straight away. See https://docs.modbot.co/api/live-updates/.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Query Parameters

after?string
wait?integer
Formatint32
limit?integer
Formatint32

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/live/poll"
{  "events": [    {      "id": "string",      "cursor": "string",      "kind": "string",      "type": "string",      "typeRaw": null,      "category": "string",      "label": "string",      "source": "string",      "at": "2019-08-24T14:15:22Z",      "occurredBefore": null,      "observedAt": "2019-08-24T14:15:22Z",      "subject": {        "platform": "string",        "id": "string",        "kind": "string"      },      "actor": null,      "instanceId": null,      "worldId": null,      "worldName": null,      "person": null,      "flagged": true,      "reason": null,      "byThisDevice": true,      "data": null,      "sentence": null,      "origin": null,      "factId": 0    }  ],  "cursor": "string",  "more": true,  "notice": null,  "clipRequests": null}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.