Holidays
List holidays
GET
Lists public or school holidays for the organization country and locale from OpenHolidays API. Country and language default from organization settings; optional overrides apply per request.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
validFrom*stringMatch
^\d{4}-\d{2}-\d{2}$validTo*stringMatch
^\d{4}-\d{2}-\d{2}$kind?stringDefault
"school"Value in
"school""public"countryIsoCode?stringLength
2 <= length <= 2languageIsoCode?stringLength
2 <= length <= 3subdivisionCode?stringLength
1 <= lengthgroupCode?stringLength
1 <= lengthHolidays in the requested date range
application/json- response
items*array<>countryIsoCode*stringLength
2 <= length <= 2languageIsoCode*stringLength
2 <= lengthcurl -X GET 'https://api.tillor.eu/orgs/string/holidays?validFrom=string&validTo=string'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "startDate": "string", "endDate": "string", "type": "Public", "nationwide": true, "groupCodes": [ "string" ], "subdivisionCodes": [ "string" ] } ], "countryIsoCode": "st", "languageIsoCode": "string"}