01
Before you start
Paths below are given in full, or relative to /apis/v1/calendar where a table says so. Every request needs a Ration bearer token (see Authentication):
Authorization: Bearer <ration_access_token>
Content-Type: application/jsonRation also supports CalDAV for compatible calendar clients. This page covers only the public /apis/v1 REST API.
02
List calendars
GET /apis/v1/calendar returns a paginated result with the calendar records and cursor metadata.
| Query parameter | Type | Required | Description |
|---|---|---|---|
limit | Integer | No | Page size. Defaults to 50. |
cursor | String | No | Cursor returned by a previous page. |
03
Create a calendar
POST /apis/v1/calendar. Send calendar attributes at the top level. The response is { "calendar": { ... } }.
{ "name": "Product", "color": "#006699" }04
Update a calendar
PUT /apis/v1/calendar/:calendar_id. Send attributes directly or nested under calendar. The response is { "calendar": { ... } }, read back after the update, so you can use it to refresh your view.
{ "calendar": { "name": "Product delivery", "color": "#006699" } }05
Delete a calendar
DELETE /apis/v1/calendar/:calendar_id returns 204 No Content.
| Body or query field | Type | Required | Description |
|---|---|---|---|
move_to_calendar_id | String | No | Calendar to move existing events to before deletion. |
06
List events or expanded instances
GET /apis/v1/calendar/:calendar_id/events
| Query parameter | Type | Required | Description |
|---|---|---|---|
start, end | ISO 8601 date-time | No | Event window. Missing bounds default to the Unix epoch through five years ahead. |
limit | Integer | No | Page size. Defaults to 50. |
cursor | String | No | Event list cursor. |
GET /apis/v1/calendar/:calendar_id/instances expands recurring events into occurrences. Both start and end are required ISO 8601 date-times. It also accepts limit and cursor.
07
Create or update an event
POST /apis/v1/calendar/:calendar_id/events creates an event and PUT /apis/v1/calendar/:calendar_id/events/:event_id updates one. Put event attributes under event:
- The event model supports standard calendar fields: title/summary, date and time, description, location, attendees, recurrence, alarms and scheduling metadata.
- Responses are
{ "event": { ... } }. GET /apis/v1/calendar/:calendar_id/events/:event_idreturns the same envelope.DELETEon that path returns204 No Content.
{
"event": {
"summary": "Design review",
"dtstart": "2026-08-10T09:00:00+01:00",
"dtend": "2026-08-10T10:00:00+01:00",
"description": "Review the proposed experience.",
"location": "Video meeting",
"attendees": [{ "email": "sam@example.com", "name": "Sam" }]
}
}08
Batch event changes
POST /apis/v1/calendar/:calendar_id/events/batch. The create, update and delete arrays can also go directly at the top level.
{
"operations": {
"create": [{ "summary": "Kickoff", "dtstart": "…", "dtend": "…" }],
"update": [{ "event_id": "event-id", "summary": "Updated kickoff" }],
"delete": ["event-id"]
}
}| Response field | Type | Description |
|---|---|---|
created, updated, deleted | Array | One result per requested operation. |
*.status | String | ok or error. |
*.event, *.event_id | Object or String | The created or updated event, or the affected event ID. |
*.error | String | Error detail for a single failed operation. |
09
RSVP and propose a time
PUT /apis/v1/calendar/:calendar_id/events/:event_id/rsvp generates and sends a scheduling reply, and returns { "status": "ok", "schedule_statuses": [...] }.
{ "response": "accepted" }POST /apis/v1/calendar/:calendar_id/events/:event_id/proposals takes the proposal fields for an alternative meeting time and returns { "status": "proposal_sent", "schedule_statuses": [...] }.
10
Incremental sync
POST /apis/v1/calendar/:calendar_id/sync returns the changes since the token you send. An invalid token returns an error that includes valid_sync_token when Ration can supply a usable replacement.
{ "sync_token": "token-from-a-prior-sync" }11
iTIP scheduling messages
Paths in this table are relative to /apis/v1/calendar. Send a complete iCalendar (.ics) payload in ics. The outbox sends it to recipients; the inbox validates it and applies it to the calendar.
| Method | Path | Required body | Response |
|---|---|---|---|
POST | /:calendar_id/scheduling/outbox | ics | { "status": "sent", "schedule_statuses": [...] } |
POST | /:calendar_id/scheduling/inbox | ics | { "status": "processed" } |
GET | /:calendar_id/scheduling/messages | None | Paginated scheduling-message result. |
GET | /:calendar_id/scheduling/messages/:message_id | None | { "message": { ... } } |
12
Free/busy lookup
POST /apis/v1/calendar/scheduling/free_busy
dtstartanddtendare accepted as aliases forstart_dateandend_date.- The response returns merged busy windows for the caller and each resolved attendee.
- Addresses outside your tenant may come back unresolved, because Ration can’t inspect their calendars.
{
"start_date": "2026-08-10T09:00:00+01:00",
"end_date": "2026-08-10T18:00:00+01:00",
"attendees": ["sam@example.com", { "email": "lee@example.com" }]
}13
Time polls
Paths in this table are relative to /apis/v1/calendar.
| Method | Path | Request | Response |
|---|---|---|---|
POST | /polls | title, calendar_id, attendees and at least two options (dtstart, dtend); optional draft. | Created poll (201). |
GET | /polls/:id | None. | Poll, tally and my_vote. |
POST | /polls/:id/vote | option_ids array. | Updated poll and my_vote. |
POST | /polls/:id/finalize | None. | { "poll": {...}, "event": {...} }. |
Only the organiser can finalise a poll. A poll needs at least two options and can’t be finalised without a winning vote.
14
Holidays and subscriptions
Paths in this table are relative to /apis/v1/calendar.
| Method | Path | Description |
|---|---|---|
GET | /holidays | Holiday catalogue and lookup data. |
GET | /holidays/effective?year=2026 | Effective countries and holidays for the caller. |
GET | /holiday-subscriptions | Tenant default, caller additions, effective countries and can_manage. |
PUT | /holiday-subscriptions | Set the caller’s countries array (or a comma-separated string). |
PUT | /holiday-subscriptions/tenant | Tenant administrators set countries, custom_days and speedy_meetings. |
The tenant update needs the organisation-management permission. Without it, it returns 403 { "error": "forbidden" }.
15
Errors
| Status | Meaning |
|---|---|
401 | Missing or invalid bearer authentication. |
403 | Tenant context is required, or the caller lacks calendar or tenant permission. |
404 | Calendar, event, poll or scheduling message not found. |
400 | Invalid date range, invalid ICS payload, incomplete poll or another invalid request. |
422 | The calendar or event operation can’t be applied. |
Last reviewed 27 November 2026.