HQ APIHolidays
List Holidays
List holidays according to the company's country.
The language of the holiday names is can be controlled by including a Accept-Language header. If the header is not included, the language is the company's default language.
GET
/v1/hq/companies/{company_id}/holidaysAuthorization
BearerTokenAuth
AuthorizationBearer <token>
The Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
company_id*string
Example
"dwawd8awudawd"Query Parameters
Header Parameters
Accept-Language?string
The language of the holiday names. If not included, the language is the company's default language.
Example
"is"Response Body
application/json
curl -X GET "https://api.noona.is/v1/hq/companies/dwawd8awudawd/holidays?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z"[
{
"name": "Christmas Day",
"date": "2024-12-25"
}
]