Add event category
/api/calendar/categoriesMake a category, such as Karaoke, that events can carry. Names are up to 40 characters and not repeated, whatever the letter case.
Needs the ManageCalendar permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/calendar/categories" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "usedBy": 0, "blueskyTag": "", "blueskyTagIsOwn": false}List event categories GET
Every category made in Modbot by name, with how many events carry it. VRChat's own categories are not in it. Needs the `ViewCalendar` permission.
Delete event category DELETE
Delete a category. Events that carried it keep everything else, and Discord's posts drop its name on their next update. Needs the `ManageCalendar` permission.