DevelopersAPI referenceCronCrunchTime off
List holiday definitions
Team workspaces only. The stored calendar, ordered by date. Yearly holidays are one row, not one row per year. At most 400.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/time-off/holidays"{ "holidays": [ { "id": "string", "name": "string", "date": "2019-08-24", "repeatsYearly": true } ]}Update a time off policy
Team workspaces only, owner or admin. Archived policies keep their requests and accept no new ones. A missing policy in this workspace is 404.
Add a holiday
Team workspaces only, owner or admin. date is YYYY-MM-DD. repeatsYearly uses that month and day every year. A yearly holiday blocks any other holiday on that month and day. Two one-off holidays can share a month and day when the dates differ. The same date cannot be stored twice.