Get available holiday countries
Retrieves the complete list of available holiday countries and states that can be used for holiday configurations.
What is returned:
- List of all supported holiday regions with:
code: Country/region code (e.g., “US”, “DE”, “US-CA”, “AT”)name: Localized country/region name (e.g., “United States”, “Germany”, “California”, “Austria”)
How to use:
- Use these codes when setting default holiday settings or individual employee holiday rules
- Country codes follow ISO 3166-1 alpha-2 format (e.g., “US”, “DE”)
- State codes use format “COUNTRY-STATE” (e.g., “US-CA” for California, “US-NY” for New York)
- Use the
languagequery parameter to get country names in a specific language (default: “en”)
Note: This list includes all regions for which Leadtime has official holiday data. Holidays are automatically loaded from official sources for these regions.
GET
/holidays/countriesAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:reador
AuthorizationBearer token (JWT) · headerrequiredQuery parameters
languagestringrequiredResponses
200
Holiday countries retrieved successfully
Array of
HolidayCountryDtocodestringrequiredCountry or region code in ISO 3166-1 alpha-2 format. For states/provinces, uses format "COUNTRY-STATE" (e.g., "US-CA" for California).
namestringrequiredLocalized country or region name in the requested language. Names are provided in the language specified by the language query parameter.
401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions