Upsert calendar event
Create or update a calendar event (holiday or workday override). Omit event_id to create a new event.
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Calendars Manage (on-call) |
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Calendar event upsert request. Provide event_id to update an existing event; omit it to create a new one.
Calendar ID.
Event summary.
1 - 39Event start date in YYYY-MM-DD.
Event end date in YYYY-MM-DD (exclusive).
Whether the event marks a non-working day. true = day off, false = working day override.
Event ID. Omit when creating.
63Event description.
499Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.