Skip to main content

Calendar Feeds

A calendar feed is the Calendar as an iCalendar document (RFC 5545), for calendar apps to subscribe to. Each workspace member can have one feed link per workspace. The link contains a secret, and the secret is the only credential: whoever has the URL can read the events it shows.

The link is managed by the signed-in member in the app. Personal access tokens cannot read, create, reset or turn off feed links (see Scopes), because a link reads workspace data without any token and never expires.

All four operations act on the caller's own link in the workspace, and any member who can see the Calendar can use them.

Method and pathOperation IDWhat it does
GET /v1/workspaces/{workspaceID}/calendar-feedget-calendar-feed-linkReturns your link, or {"enabled": false} if you have none.
PUT /v1/workspaces/{workspaceID}/calendar-feedenable-calendar-feed-linkCreates your link, or returns the existing one unchanged.
POST /v1/workspaces/{workspaceID}/calendar-feed/resetreset-calendar-feed-linkIssues a new link. The previous one stops working immediately.
DELETE /v1/workspaces/{workspaceID}/calendar-feeddisable-calendar-feed-linkDeletes your link (204). Turning off a link that does not exist also returns 204.

The link object:

{
"enabled": true,
"url": "https://api.budgetthing.com/api/v1/calendar-feeds/btcal_EXAMPLE.ics",
"createdAt": "2026-11-11T18:20:00Z",
"lastUsedAt": "2026-11-11T19:00:00Z"
}
FieldMeaning
enabledWhether you have a link in this workspace.
urlThe feed URL with no filter. Add types to choose event types (below).
createdAtWhen the current link was created or last reset.
lastUsedAtRoughly when a calendar app last fetched it. It is updated at most once an hour and cleared on reset.

The same link is returned every time until you reset it, so you can rebuild the URL with a different filter without invalidating existing subscriptions. Only a digest and an encrypted copy of the secret are stored.

Reading a feed​

GET /v1/calendar-feeds/{token}?types=bill,paycheck

No Authorization header is needed; the secret in the path is the credential. The .ics suffix is optional.

Query parameterMeaning
typesOptional comma-separated event types: income, expense, paycheck, bill, debt_payment. These are the same values as the workspace calendar's type filter. Omit it to include every type. An unknown value returns 422.

The response is text/calendar; charset=utf-8:

  • The feed covers 90 days back and 365 days ahead, counted from today in the workspace's time zone.
  • Every event is an all-day VEVENT (DTSTART;VALUE=DATE, with DTEND the next day), marked TRANSP:TRANSPARENT so it never shows the day as busy.
  • SUMMARY is the event type, the name and the amount in the workspace's currency format, for example Bill: Rent $1,250.00. DESCRIPTION adds the direction (money in or out), the currency and the status.
  • UID is built from the event type and the record's ID (for example bill-bocc_…@budgetthing.com), so it is the same on every fetch and calendar apps update an event instead of duplicating it.
  • A skipped paycheck has STATUS:CANCELLED (the RFC 5545 spelling); everything else is CONFIRMED.
  • The calendar is named Budget Thing: <workspace name> (X-WR-CALNAME) and suggests a one-hour refresh. Each calendar app decides how often it actually refreshes.
  • Responses carry Cache-Control: private, max-age=900, Referrer-Policy: no-referrer and X-Robots-Tag: noindex, nofollow.
  • Events are in date order: by date, then by type (income, expense, paycheck, bill, debt payment), then by record ID.
  • A feed holds at most 25,000 events. If a workspace has more in the window, the latest-dated ones are left out.

Streaming and failed fetches​

The feed is streamed as it is generated, so a large feed is usually sent with chunked transfer encoding rather than a Content-Length header. Read the body to the end before using it.

The final line of a complete feed is END:VCALENDAR. If something fails while the feed is being generated:

  • before any of the body has been sent, the response is a 500 error with a problem-details body instead of a calendar;
  • after the body has started, the connection is closed before END:VCALENDAR, so the fetch fails rather than returning a calendar with events missing.

Event text is in US English, because calendar apps fetch the feed without a signed-in user or a language preference.

When a feed returns 404​

Access is checked again on every fetch. All of these return 404 Not Found, with no hint of which one applied:

  • the link was reset or turned off, or never existed;
  • the member who owns the link is no longer an active member of the workspace;
  • the workspace was deleted;
  • the member is not the workspace owner and the owner's plan no longer includes workspace sharing.

A workspace owner's own feed keeps working on every plan, like the Calendar itself.

Rate limits​

Feeds have their own per-link and per-address budgets instead of the default unauthenticated limit. A throttled fetch gets 429 with Retry-After. See Limits.

Treat the URL like a password. It appears in the subscribing app's settings and anywhere it is pasted. If it may have leaked, reset it: the old URL stops working immediately, and only subscriptions you add with the new URL keep updating. Budget Thing never writes the secret to its request logs.