Public Holidays

Manage public holiday sets and overrides

GET/api/v1/organisation/public-holiday-sets

List public holiday sets

Returns configured public holiday country sets for the organisation.

curl https://api.offly.net/api/v1/organisation/public-holiday-sets \
  -H "Authorization: Bearer YOUR_API_KEY"
Try it

Do not use production API keys on shared devices. Keys are stored in memory only.

POST/api/v1/organisation/public-holiday-sets

Add a public holiday set

Adds a country's public holidays to the organisation.

Request body

FieldTypeDescription
country_code*string

Response

FieldTypeDescription
idstring(uuid)
country_codestring
country_namestring
holiday_countinteger
created_atstring(date-time)
curl -X POST https://api.offly.net/api/v1/organisation/public-holiday-sets \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Try it

Do not use production API keys on shared devices. Keys are stored in memory only.