Skip to content
dimmiDocs

Conversations

Get office hours

GET/api/v1/schedules/{schedule}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the workflows:read ability

Path parameters

schedulestringrequired

Id of the office hours schedule, starting with sch_, such as sch_01jx2m8k4t. Find it with GET /schedules.

Response 200

OK
dataobjectrequired
Show child attributes
created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

holidaysanyrequired

Days closed all day, each an object with date (such as 2026-12-25), an optional name, and yearly true when it repeats every year.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

is_defaultbooleanrequired

True for the workspace's default schedule.

namestringrequired

The schedule's name.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

statusobjectrequired
Show child attributes
next_closestring | nullrequired

When the schedule next closes, while it is open; otherwise null.

Format: date-time

next_openstring | nullrequired

When the schedule next opens, while it is closed; null while it is open or when it never opens.

Format: date-time

openbooleanrequired

True when the schedule is open at the moment it was read.

timezonestringrequired

Timezone the hours are read in, such as Europe/Paris.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

weeklyanyrequired

Open 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

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.