You can assign an office hours schedule to a team or set office_hours_schedule_id to null to remove the team's own schedule so it uses the workspace default. The field is required, even when its value is null.
The team and any non-null schedule must belong to your workspace. An unknown, malformed, or other-workspace team id returns a 404 error. An unknown, invalid, or other-workspace schedule id returns a 422 error. Sending the current value, including null for a team already using the workspace default, changes nothing.
Returns the same schedule object as GET /teams/{team_id}/office_hours. If removing the assignment leaves the team without a schedule and the workspace has no default, the assignment is removed but the response is a 404 error.
Requires the read_write_office_hours OAuth scope and permission to manage workload management. 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/teams/{team_id}/office_hours
- The european API serverhttps://api.eu.intercom.io/teams/{team_id}/office_hours
- The australian API serverhttps://api.au.intercom.io/teams/{team_id}/office_hours
curl -i -X PUT \
https://api.intercom.io/teams/42/office_hours \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: Preview' \
-d '{
"office_hours_schedule_id": "123"
}'Team office hours schedule
An office hours schedule defines the recurring weekly hours during which the workspace is open.
The IANA time zone the schedule's hours are evaluated in.
The open intervals that make up the weekly schedule.
{ "type": "office_hours_schedule", "id": "123", "name": "Standard Support Hours", "time_zone_name": "America/New_York", "time_intervals": [ { … } ], "twenty_four_seven": false, "created_at": 1717200000, "updated_at": 1717200000 }