English
cURL
curl --request GET \ --url https://api.absentify.com/api/v1/public_holidays/{id} \ --header 'X-API-KEY: <api-key>'
{ "id": "<string>", "name": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "country_code": "<string>", "county_code": "<string>", "public_holiday_days": [ { "id": "<string>", "date": "<string>", "year": 123, "custom_value": true, "duration": "Morning", "updatedAt": "<string>", "createdAt": "<string>", "public_holiday_day_languages": [ { "id": "<string>", "name": "<string>", "language": "<string>" } ] } ] }
Read a public holiday by id
Successful response
Show child attributes
Was this page helpful?