Conversations
Get office hours
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the workflows:read ability
Path parameters
schedulestringrequiredId of the office hours schedule, starting with sch_, such as sch_01jx2m8k4t. Find it with GET /schedules.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
holidaysanyrequiredDays closed all day, each an object with date (such as 2026-12-25), an optional name, and yearly true when it repeats every year.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
is_defaultbooleanrequiredTrue for the workspace's default schedule.
namestringrequiredThe schedule's name.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
statusobjectrequiredShow child attributesHide child attributes
next_closestring | nullrequiredWhen the schedule next closes, while it is open; otherwise null.
Format: date-time
next_openstring | nullrequiredWhen the schedule next opens, while it is closed; null while it is open or when it never opens.
Format: date-time
openbooleanrequiredTrue when the schedule is open at the moment it was read.
timezonestringrequiredTimezone the hours are read in, such as Europe/Paris.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
weeklyanyrequiredOpen hours by weekday, mon to sun, each a list of up to 4 [start, end] ranges as HH:MM, such as {"mon": [["09:00", "17:00"]]}; 24:00 ends at midnight.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.