/v1/business-hours/{business_hours_id}betaGet business hours
- Needs
- Read your data
(mcp:read) - Plan
- Any plan with API access
- Limits
- 300 a minute per key
- Undo
- Nothing to undo: this only reads.
One calendar in full: the weekly hours, its exceptions (holidays and special opening days, one-off or yearly), what the key's user may do with it (permissions) and what would block deleting it (delete_impact). Its updated_at is the version you send back as expected_updated_at when you update it.
Try it
This only reads. It uses your real data and changes nothing.
Code and response
curl -X GET 'https://api.wa-api.cloud/v1/business-hours/14' \ -H "Authorization: Bearer $API_KEY"
The code reads your key from $API_KEY.
Parameters
| Field | Type | What it is |
|---|---|---|
| business_hours_idrequired | string | integer · path | The calendar id (id from List business hours). |
Headers
| Field | Type | What it is |
|---|---|---|
| Authorizationrequired | header | Bearer $API_KEY — your API key. |
| Api-Version | header | The API version to use, e.g. 2026-10-01. Default: the version your key is pinned to.one of: 2026-10-01 · pattern ^\d{4}-\d{2}-\d{2}$ |
Response 200
The calendar, its exceptions, permissions and delete impact.
| Field | Type | What it is |
|---|---|---|
| calendarrequired | object | |
| idrequired | string | |
| namerequired | string | |
| descriptionrequired | string or null | |
| timezonerequired | string | IANA timezone the hours are written in (wall clock; daylight saving is handled by the platform). |
| scoperequired | object | |
| typerequired | string | company = the whole workspace; channel = one channel; team = one team.one of: company, channel, team |
| idrequired | string or null | The channel or team id (null for company). |
| activerequired | boolean | |
| defaultrequired | boolean | The workspace default calendar (exactly one per workspace). |
| schedulerequired | object | The weekly hours, one list of "HH:MM-HH:MM" ranges per day ([] = closed). |
| mondayrequired | array of string | |
| tuesdayrequired | array of string | |
| wednesdayrequired | array of string | |
| thursdayrequired | array of string | |
| fridayrequired | array of string | |
| saturdayrequired | array of string | |
| sundayrequired | array of string | |
| updated_atrequired | string or null | Version stamp: pass it back as expectedUpdatedAt to PATCH /v1/business-hours/{business_hours_id}. |
| exceptionsrequired | array of object | |
| idrequired | string | |
| daterequired | string or null | One-off date (YYYY-MM-DD), or null for a yearly one. |
| yearlyrequired | object or null | Repeats every year on this month/day, or null. |
| monthrequired | integer | -9007199254740991–9007199254740991 |
| dayrequired | integer | -9007199254740991–9007199254740991 |
| recurrence_rulerequired | string or null | The stored rule (FREQ=YEARLY;BYMONTH=…;BYMONTHDAY=…). |
| openrequired | boolean | false = closed all day (a holiday); true = open with the special hours below. |
| hoursrequired | array of string | Special hours on an open day ("HH:MM-HH:MM"); [] for a closed day. |
| noterequired | string or null | Label, e.g. "Christmas Day". |
| permissionsrequired | object | |
| createrequired | boolean | |
| updaterequired | boolean | |
| deleterequired | boolean | |
| delete_impactrequired | object | |
| blockedrequired | boolean | |
| reasonrequired | string or null | |
| warningrequired | string or null | |
| referencesrequired | array of object | |
| typerequired | string | |
| labelrequired | string | |
| countrequired | integer | -9007199254740991–9007199254740991 |
| examplesrequired | array of string |
Errors
Errors are application/problem+json. Branch on code.
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | A field is missing or has the wrong format. |
| 401 | unauthenticated | The Authorization header is missing, the key is unknown, expired or revoked, or the request came from an address outside the key's IP allowlist (checked on every operation, before anything runs). |
| 403 | entitlement_required | The workspace's plan does not include API access ( |
| 403 | insufficient_scope | The key does not have the permission this operation needs. Checked before the body and headers: without the permission, this is the answer whatever was sent. |
| 404 | not_found | No calendar with this id in this workspace. |
| 429 | rate_limited | The key or workspace went over its rate limit, or a service behind the API asked to slow down. Wait for |
| 503 | upstream_unavailable | A service behind the API is briefly unavailable. Safe to retry with backoff. |
Examples
A calendar with its holidays
Response 200
{
"calendar": {
"id": "14",
"name": "Head office",
"description": null,
"timezone": "Asia/Dubai",
"scope": {
"type": "company",
"id": null
},
"active": true,
"default": true,
"schedule": {
"monday": [
"09:00-18:00"
],
"tuesday": [
"09:00-18:00"
],
"wednesday": [
"09:00-18:00"
],
"thursday": [
"09:00-18:00"
],
"friday": [
"09:00-13:00",
"14:00-18:00"
],
"saturday": [
"10:00-14:00"
],
"sunday": []
},
"updated_at": "2026-10-17T08:30:12Z"
},
"exceptions": [
{
"id": "302",
"date": null,
"yearly": {
"month": 1,
"day": 1
},
"recurrence_rule": "FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=1",
"open": false,
"hours": [],
"note": "New Year's Day"
},
{
"id": "301",
"date": "2026-12-02",
"yearly": null,
"recurrence_rule": null,
"open": false,
"hours": [],
"note": "National Day"
},
{
"id": "303",
"date": "2026-12-31",
"yearly": null,
"recurrence_rule": null,
"open": true,
"hours": [
"09:00-13:00"
],
"note": "Half day"
}
],
"permissions": {
"create": true,
"update": true,
"delete": true
},
"delete_impact": {
"blocked": true,
"reason": "2 SLA Policies reference this Business Hours.",
"warning": "This Business Hours cannot be deleted — 2 SLA Policies reference this Business Hours.",
"references": [
{
"type": "SlaPolicy",
"label": "SLA Policies",
"count": 2,
"examples": [
"VIP",
"Standard"
]
}
]
}
}Operation path
The same operation is also at POST /v1/ops/business_hours_get, with every field in the JSON body.