Skip to content

List all office hours exceptions

Request

You can fetch a list of all exceptions for an office hours schedule.

Security
bearerAuth
Path
office_hours_schedule_idstringrequired

The unique identifier for the office hours schedule.

Example:123
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/123/office_hours_exceptions \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: Preview'

Responses

Successful response

Bodyapplication/json
typestring

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": [ {}, {} ] }