12 endpoints

# Calendar & Holidays

Calendar events, iCal subscriptions, public holidays, and company holiday management.

## Calendar Events

GET`/calendar/events`Get Calendar EventsGet leave requests, absences, and company holidays for a date range, formatted for calendar display.

GET`/calendar/ical`Get iCal URLGet a personal iCal subscription URL for the authenticated user (includes their leave and bank holidays). Import into Outlook, Google Calendar, or Apple Calendar.

POST`/calendar/subscriptions`Create Calendar SubscriptionCreate a named iCal subscription with optional filters (team, department, types).

GET`/calendar/subscriptions`List Calendar SubscriptionsGet all active calendar subscriptions for the authenticated user.

PUT`/calendar/subscriptions/{uuid}/revoke`Revoke SubscriptionRevoke a calendar subscription (invalidates the iCal URL).

DELETE`/calendar/subscriptions/{uuid}`Delete SubscriptionDelete a calendar subscription.

## Public Holidays

GET`/public-holidays`List Public HolidaysGet bank/public holidays by country and region. Uses government data sources.

## Company Holidays

GET`/company-holidays`List Company HolidaysGet company-specific holidays and office closures.

POST`/company-holidays`Create Company HolidayCreate a company-specific holiday or office closure date.

GET`/company-holidays/{uuid}`Get Company HolidayGet a specific company holiday.

PATCH`/company-holidays/{uuid}`Update Company HolidayUpdate a company holiday.

DELETE`/company-holidays/{uuid}`Delete Company HolidayDelete a company holiday.

---

**URL:** https://cube-hr.co.uk/docs/calendar
