Skip to content

List teammate office hours

Request

You can list teammates who have their own office hours schedule. Teammates who inherit office hours are not included. Results include only teammates you can access.

Use pages.next.starting_after to retrieve the next page. pages.next is omitted on the last page.

Requires either the read_all or read_write_office_hours OAuth scope and permission to access reporting. Set Intercom-Version: Preview.

Security
bearerAuth
Query
per_pageinteger, >= 1

The number of assignments to return per page. Must be a positive integer. Values above 50 are reduced to 50.

Default:20
Example:per_page=20
starting_afterstring

The cursor from pages.next.starting_after in the previous response. Omit it to retrieve the first page.

Example:starting_after=your-cursor-from-response
Headers
Intercom-Versionstring(intercom_version_preview)

Preview Intercom API version. Used for closed beta endpoints or other features under managed availability.

Default:"Preview"
Value:"Preview"
Example:Preview
curl -i -X GET \
  'https://api.intercom.io/admins/office_hours?per_page=20&starting_after=your-cursor-from-response' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: Preview'

Responses

Teammate office hours assignments

Bodyapplication/json

A page of accessible teammates who have their own office hours schedule.

typestringrequired

The type of the object, always list.

Value:"list"
Example:"list"
dataarray of objects(Teammate Office Hours)required

Teammates who have their own office hours schedule. Teammates who inherit office hours are not included.

Example:
[ { "type": "admin_office_hours", "admin_id": "456", "office_hours_schedule_id": "123" } ]
pagesobjectrequired

Cursor-based pagination. next is omitted on the last page.

Example:
{ "type": "pages", "per_page": 20, "next": { "starting_after": "your-cursor-from-response" } }
Response
{ "type": "list", "data": [ { … } ], "pages": { "type": "pages", "per_page": 1, "next": { … } } }