Calendar
5 routes. Paths are relative to https://api.intersink.com/v1.
- GET/calendar/eventsMy events in a date window (max 366 days), recurring series expanded into occurrences
- POST/calendar/eventsAdd a calendar event
- GET/calendar/events/{id}One of my calendar events (the series)
- PATCH/calendar/events/{id}Edit a calendar event (the whole series)
- DELETE/calendar/events/{id}Delete a calendar event (returns it)
My events in a date window (max 366 days), recurring series expanded into occurrences
GET/calendar/events
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| fromrequired | string, query | Example: "2026-10-01T00:00:00Z" |
| torequired | string, query | Example: "2026-11-01T00:00:00Z" |
| channel_id | string, query | |
| limit | number, query | Max occurrences returned (default 500, max 1000) Minimum 1. |
Response
200. The payload in data is not described in the spec yet.
Add a calendar event
POST/calendar/events
Needs a signed-in user (Bearer token or access_token cookie).
Request body application/json
| Field | Type | Description |
|---|---|---|
| titlerequired | string | At most 200 characters. Example: "Roadmap review" |
| description | string | At most 5000 characters. |
| location | string | At most 500 characters. |
| start_atrequired | string | Example: "2026-10-19T16:00:00Z" |
| end_at | string | Example: "2026-10-19T17:00:00Z" |
| all_day | boolean | |
| timezone | string | At most 64 characters. Example: "Europe/London" |
| rrule | string | Example: "FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10" |
| color | string | Example: "#3B5BDB" |
| category | string | At most 50 characters. |
| reminders | number[] | Minutes before start (max 5, each 0..40320) |
| channel_id | string |
Response
201. The payload in data is not described in the spec yet.
One of my calendar events (the series)
GET/calendar/events/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | number, path |
Response
200. The payload in data is not described in the spec yet.
Edit a calendar event (the whole series)
PATCH/calendar/events/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | number, path |
Request body application/json
| Field | Type | Description |
|---|---|---|
| title | string | At most 200 characters. |
| description | string | At most 5000 characters. |
| location | string | At most 500 characters. |
| start_at | string | |
| end_at | string | |
| all_day | boolean | |
| timezone | string | At most 64 characters. |
| rrule | string | |
| color | string | |
| category | string | At most 50 characters. |
| reminders | number[] | |
| channel_id | string |
Response
200. The payload in data is not described in the spec yet.
Delete a calendar event (returns it)
DELETE/calendar/events/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | number, path |
Response
200. The payload in data is not described in the spec yet.