Home//
REST API Reference
/- Create an office hours exception
List all office hours schedules
Create an office hours schedule
Retrieve an office hours schedule
Update an office hours schedule
Delete an office hours schedule
List all office hours exceptions
Retrieve an office hours exception
Update an office hours exception
Delete an office hours exception
Office Hours Exception
Office Hours Schedule
Office Hours Time Interval
Create an office hours ex...
You can create an exception for an office hours schedule. Use closed to mark the day closed (omit time_intervals) or custom_hours to supply replacement intervals.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
By default, it's equal to the version set in the app package.
Default:"Preview"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
The date the exception applies to, in YYYY-MM-DD format.
Example:"2026-12-25"
time_intervalsArray of objects or null(Office Hours Time Interval)
The open intervals for the exception date. Required for custom_hours; omit for closed.
- The production API serverhttps://api.intercom.io/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions
- The european API serverhttps://api.eu.intercom.io/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions
- The australian API serverhttps://api.au.intercom.io/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions
curl -i -X POST \
https://api.intercom.io/office_hours_schedules/123/office_hours_exceptions \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: Preview' \
-d '{
"exception_date": "2026-12-25",
"exception_type": "closed",
"name": "Christmas Day",
"recurring_annually": true
}'Office hours exception created
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.
Response
{ "type": "office_hours_exception", "id": "458", "office_hours_schedule_id": "123", "exception_date": "2026-12-25", "exception_type": "closed", "name": "Christmas Day", "time_intervals": null, "recurring_annually": true, "created_at": 1717200000, "updated_at": 1717200000 }