cURL
curl --request POST \ --url https://www.ruddr.io/api/workspace/holiday-schedules \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "isActive": true, "holidayIds": [ "<string>" ] } '
200
Result
{ "id": "a7e3c814-2f59-4b06-91d3-e8c4f0a27b16", "name": "UK Bank Holidays", "isActive": true, "createdAt": "2026-02-18T09:41:23.719Z", "holidays": [ { "id": "d1b94f37-8c62-4e0a-a5d3-f7e2c0b18a94", "name": "Boxing Day" }, { "id": "6c8e2a45-f1d7-4b39-80e6-a3d9c5f72b18", "name": "Christmas Day" }, { "id": "b2f7e493-1d08-4c6a-95e3-a8d0f4c72e51", "name": "New Year's Day" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the holiday schedule. Maximum 255 characters.
Whether the holiday schedule is active.
The IDs of holidays to associate with this holiday schedule.
The unique identifier for the object.
The name of the holiday schedule.
The timestamp when the object was created.
The list of associated holidays.
Show child attributes