Skip to content

Office Hours

Manage office hours schedules and their exceptions. These endpoints require an OAuth token with the read_write_office_hours scope.

List all office hours schedules

Request

You can fetch a list of all office hours schedules for the workspace.

Security
bearerAuth
Headers
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
curl -i -X GET \
  https://api.intercom.io/office_hours_schedules \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: Preview'

Responses

Successful response

Bodyapplication/json
typestring

The type of the object - always office_hours_schedule.list.

Example:"office_hours_schedule.list"
dataArray of objects(Office Hours Schedule)

An array of office hours schedules.

Response
{ "type": "office_hours_schedule.list", "data": [ {} ] }