Skip to main content
GET
Get company business hours

Authorizations

Authorization
string
header
required

HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).

Response

The company business hours.

enabled
boolean
required

Whether the company business hours apply.

timeZone
string
required
read-only

IANA time zone in which all times are read: the account time zone. Read-only.

Example:

"Europe/Bratislava"

openingHours
object[]
required

When it is open. Several intervals per day are allowed; they must not overlap.

specialDates
object[]
required
holidaysClosed
boolean
required

Closed on public holidays of the number's country. See List public holidays.

closedAction
Closed action · object
required

What callers get when closed. null while the hours were never saved. A save needs one, except when it sends back the object a read returns for hours never saved.

updatedAt
string<date-time> | null
required
read-only

Last change. Read-only. null while the hours were never saved, or when the stored date is missing or not valid.