Home//Office Hours
Office Hours
Introduction
Changelog (2.16)
Intercom API
Admins
AI Content
Articles
Audiences
Away Status Reasons
Banners
Brands
Calls
Companies
Contacts
Content
Content Snippets
Conversations
Conversations Attributes
Custom Object Instances
Data Attributes
Data Connectors
Data Events
Data Export
Emails
Fin Agent
Help Center
Internal Articles
IP Allowlist
Jobs
Macros
Messages
News
Notes
Reporting Data Export
Segments
Subscription Types
Switch
Tags
Teams
Ticket States
Ticket Type Attributes
Ticket Types
Tickets
Visitors
WhatsApp
Workflows
Models
You can fetch the details of a single office hours exception.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
By default, it's equal to the version set in the app package.
Default:"2.16"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.16
- The production API serverhttps://api.intercom.io/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions/{id}
- The european API serverhttps://api.eu.intercom.io/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions/{id}
- The australian API serverhttps://api.au.intercom.io/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions/{id}
using System;
using System.Net.Http;
using System.Threading.Tasks;
public class Program
{
public static async Task Main()
{
System.Net.Http.HttpClient client = new()
{
DefaultRequestHeaders =
{
{"Intercom-Version", "2.16"},
{"Authorization", "Bearer <YOUR_TOKEN_HERE>"},
}
};
var OfficeHoursScheduleId = "123";
var Id = "456";
using HttpResponseMessage request = await client.GetAsync("https://api.intercom.io/office_hours_schedules/" + OfficeHoursScheduleId + "/office_hours_exceptions/" + Id);
string response = await request.Content.ReadAsStringAsync();
Console.WriteLine(response);
}
}Office hours exception found
The unique identifier for the schedule this exception belongs to.
Example:"123"
The date the exception applies to, in YYYY-MM-DD format.
Example:"2026-12-25"
closed means the workspace is closed all day; custom_hours replaces the regular hours with time_intervals.
Enum:"closed""custom_hours"
Example:"closed"
time_intervalsArray of objects or null(Office Hours Time Interval)
The open intervals for the exception date. null when exception_type is closed.
Response
{ "type": "office_hours_exception", "id": "456", "office_hours_schedule_id": "123", "exception_date": "2026-12-25", "exception_type": "closed", "name": "Christmas Day", "time_intervals": null, "recurring_annually": true, "created_at": 1717200000, "updated_at": 1717200000 }