Create an event
Three schedule kinds: one-off (date), recurring (recur), or someday (neither; a milestone without a date yet). Requires scope calendar:write and a writer/owner grant.
Authorizations
Agent token from POST /v1/mint (format ac_agent_…). Scopes: agent:read, calendar:read, calendar:write, grants:manage.
Headers
Any unique string you generate (e.g. a UUID). Required on every mutating POST. Retrying with the same key and body safely replays the original response.
200Path Parameters
cal_… public id.
Body
YYYY-MM-DD for a one-off. Mutually exclusive with recur; omit both for a someday milestone.
{"type":"daily"} | {"type":"weekly","day":0-6 (0=Sunday)} | {"type":"monthly","date":1-31}
HH:MM 24h; absent = all-day.
^\d{2}:\d{2}$^\d{2}:\d{2}$4000One short lowercase word, e.g. release, deadline.
Plain text or sanitized HTML shown on the event page.
8000Response
The created event (carries created_by attribution).