You can fetch a list of all exceptions for an office hours schedule, ordered by date with the earliest first.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.18
- 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 GET \
https://api.intercom.io/office_hours_schedules/123/office_hours_exceptions \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.18'Successful response
A list of office hours exceptions.
The type of the object - always office_hours_exception.list.
Example:"office_hours_exception.list"
dataarray of objects(Office Hours Exception)
An array of office hours exceptions.
Response
{ "type": "office_hours_exception.list", "data": [ { … }, { … } ] }