You can assign an office hours schedule to a teammate or set office_hours_schedule_id to null to remove their own schedule so they inherit office hours. The field is required, even when its value is null.
The teammate and any non-null schedule must belong to your workspace, and the teammate must be accessible to you. Sending the current value, including null for a teammate who already inherits, is a no-op that changes nothing. Returns the same assignment object as GET /admins/{id}/office_hours.
Requires the read_write_office_hours OAuth scope and permission to access reporting. Set Intercom-Version: Preview.
Preview Intercom API version. Used for closed beta endpoints or other features under managed availability.
Assign a schedule to a team or teammate, or remove the assignment to use inherited office hours.
- The production API serverhttps://api.intercom.io/admins/{id}/office_hours
- The european API serverhttps://api.eu.intercom.io/admins/{id}/office_hours
- The australian API serverhttps://api.au.intercom.io/admins/{id}/office_hours
curl -i -X PUT \
https://api.intercom.io/admins/456/office_hours \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: Preview' \
-d '{
"office_hours_schedule_id": "123"
}'Teammate office hours assignment
A teammate's own office hours schedule assignment. A null schedule id means the teammate inherits office hours instead of having their own schedule.
The type of the object, always admin_office_hours.
{ "type": "admin_office_hours", "admin_id": "456", "office_hours_schedule_id": "123" }