Home//
REST API Reference
/- Retrieve team office hours
Retrieve team metrics
Update team office hours
List all teams
Retrieve a team
Update a team's members
Team
Retrieve team office hour...
You can retrieve the team's linked office hours schedule, or the workspace default if the team has no schedule of its own.
The team must belong to your workspace. An unknown, malformed, or other-workspace team id returns a 404 error. If the team has no linked schedule and the workspace has no default, the endpoint returns a 404 error.
Requires either the read_all or read_write_office_hours OAuth scope and permission to manage workload management. 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/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 GET \
https://api.intercom.io/teams/42/office_hours \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: Preview'Team office hours schedule
The IANA time zone the schedule's hours are evaluated in.
Example:"America/New_York"
time_intervalsArray of objects(Office Hours Time Interval)
The open intervals that make up the weekly schedule.
Response
{ "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 }