List events for a post
/api/posts/eventsThe next date of every published event that is not cancelled, soonest first, at most 100: what Add event in the composer offers.
Needs the ViewCalendar and ManagePosts permissions.
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 GET "https://example.com/api/posts/events"[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "startsAt": "2019-08-24T14:15:22Z", "timeZone": "string" }]Preview post POST
What each ticked site would be sent, built by the code that sends it, and what would stop the post being scheduled. Saves nothing and asks no site anything. Needs the `ManagePosts` permission.
Write an event list for a post POST
The text for one published event (eventId), or for every published, not cancelled event whose date starts in a range of days (from and to, yyyy-MM-dd, counted, in timeZone; at most 62 days). Dates are written so Discord shows each reader's own time and VRChat and Bluesky the event's own zone; the list is wrapped in marks no site shows, saying what it was built from. Saves nothing. Needs the `ViewCalendar` and `ManagePosts` permissions.