Calendar Feeds API

API endpoints for managing calendar feed tokens.

Endpoints

Get feed token

GET /api/v1/calendar-feeds/token

Returns the authenticated user's calendar feed token.

Response:

{
  "token": "cf_abc123...",
  "feeds": {
    "personal": "/cal/cf_abc123",
    "team": "/cal/cf_abc123?scope=team",
    "organisation": "/cal/cf_abc123?scope=org"
  }
}

Regenerate token

POST /api/v1/calendar-feeds/regenerate

Invalidates the current token and generates a new one. Previous feed URLs will stop working.

Regenerating a token means anyone subscribed to your old feed URL will need to re-subscribe.

Feed URL format

Calendar feeds are served at:

https://api.offly.net/cal/{token}
https://api.offly.net/cal/{token}?scope=team
https://api.offly.net/cal/{token}?scope=org

These return standard iCalendar (.ics) format.