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
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
- The production API serverhttps://api.intercom.io/admins/office_hours
- The european API serverhttps://api.eu.intercom.io/admins/office_hours
- The australian API serverhttps://api.au.intercom.io/admins/office_hours
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'Teammate office hours assignments
A page of accessible teammates who have their own office hours schedule.
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" } ]
Response
{ "type": "list", "data": [ { … } ], "pages": { "type": "pages", "per_page": 1, "next": { … } } }