List Bank Holidays
Changed onReturns global bank holiday reference dates (US federal and related bank holidays maintained by BambooHR), not company-configured holidays. The response is a JSON array of holiday objects sorted by date in ascending order. Provide year to return only holidays whose dates fall within that calendar year; omit it to return the full multi-year reference set.
OAuth Scopes: meta
Request
- Base URLhttps://companySubDomain.bamboohr.com
- AuthOAuth 2Authorization code/authorize.phpToken URL/token.phpScopesmeta
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
When set, only holidays whose dates fall in this calendar year are returned. When omitted, all bank holidays are returned. Values outside 1-9999 return 422.
Response
Bank holidays retrieved successfully. Returns a JSON array of holiday objects sorted by date ascending; an empty array when no holidays match.
Changes
- info
api operation id
get-bank-holidaysremoved and replaced withlist-bank-holidays - info
api tag
Account Informationadded
- info