An exception overrides a schedule's regular hours on a specific date, such as a public holiday.
The unique identifier for the schedule this exception belongs to.
Example:"123"
The date the exception applies to, in YYYY-MM-DD format.
Example:"2026-12-25"
closed means the workspace is closed all day; custom_hours replaces the regular hours with time_intervals.
Enum:"closed""custom_hours"
Example:"closed"
time_intervalsarray of objects or null(Office Hours Time Interval)
The open intervals for the exception date. null when exception_type is closed.
{ "type": "office_hours_exception", "id": "456", "office_hours_schedule_id": "123", "exception_date": "2026-12-25", "exception_type": "closed", "name": "Christmas Day", "time_intervals": [ { … } ], "recurring_annually": true, "created_at": 1717200000, "updated_at": 1717200000 }