Set event alert settings
/api/calendar/alertsSave the event alert settings in one request. Minutes before the start outside 5 to 1,440 is a 400, and so is pings on with no channel.
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 PUT "https://example.com/api/calendar/alerts" \ -H "Content-Type: application/json" \ -d '{ "on": true, "directMessage": true, "ping": true, "channelId": null, "minutesBefore": 0 }'{ "on": true, "directMessage": true, "ping": true, "channelId": null, "minutesBefore": 0}Get event alert settings GET
Whether members are told before an event, the ways they can be told, the ping channel and how many minutes before the start. Needs the `ManageCalendar` permission.
Pick the date's world again POST
For an event that picks its world from a world list: puts the current date's world back and takes the next one in the list's shuffle. Only before the date opens. Needs the `ManageCalendar` permission.