You can fetch the details of a single office hours schedule.
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/{id}
- The european API serverhttps://api.eu.intercom.io/office_hours_schedules/{id}
- The australian API serverhttps://api.au.intercom.io/office_hours_schedules/{id}
curl -i -X GET \
https://api.intercom.io/office_hours_schedules/123 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.18'Office hours schedule found
An office hours schedule defines the recurring weekly hours during which the workspace is open.
The IANA time zone the schedule's hours are evaluated in.
Example:"America/New_York"
time_intervalsarray of objects(Office Hours Time Interval)
The open intervals that make up the weekly schedule.
Response
{ "type": "office_hours_schedule", "id": "123", "name": "Standard Support Hours", "time_zone_name": "America/New_York", "time_intervals": [ { … } ], "twenty_four_seven": false, "created_at": 1717200000, "updated_at": 1717200000 }