Skip to content
API PlatformDevelopers
GET/v1/business-hours/{business_hours_id}beta

Get 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

Path

The calendar id (`id` from List business hours).

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

Parameters
FieldTypeWhat it is
business_hours_idrequiredstring | integer · pathThe calendar id (id from List business hours).

Headers

Headers
FieldTypeWhat it is
AuthorizationrequiredheaderBearer $API_KEY — your API key.
Api-VersionheaderThe 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.

Response fields
FieldTypeWhat it is
calendarrequiredobject
idrequiredstring
namerequiredstring
descriptionrequiredstring or null
timezonerequiredstringIANA timezone the hours are written in (wall clock; daylight saving is handled by the platform).
scoperequiredobject
typerequiredstringcompany = the whole workspace; channel = one channel; team = one team.one of: company, channel, team
idrequiredstring or nullThe channel or team id (null for company).
activerequiredboolean
defaultrequiredbooleanThe workspace default calendar (exactly one per workspace).
schedulerequiredobjectThe weekly hours, one list of "HH:MM-HH:MM" ranges per day ([] = closed).
mondayrequiredarray of string
tuesdayrequiredarray of string
wednesdayrequiredarray of string
thursdayrequiredarray of string
fridayrequiredarray of string
saturdayrequiredarray of string
sundayrequiredarray of string
updated_atrequiredstring or nullVersion stamp: pass it back as expectedUpdatedAt to PATCH /v1/business-hours/{business_hours_id}.
exceptionsrequiredarray of object
idrequiredstring
daterequiredstring or nullOne-off date (YYYY-MM-DD), or null for a yearly one.
yearlyrequiredobject or nullRepeats every year on this month/day, or null.
monthrequiredinteger-9007199254740991–9007199254740991
dayrequiredinteger-9007199254740991–9007199254740991
recurrence_rulerequiredstring or nullThe stored rule (FREQ=YEARLY;BYMONTH=…;BYMONTHDAY=…).
openrequiredbooleanfalse = closed all day (a holiday); true = open with the special hours below.
hoursrequiredarray of stringSpecial hours on an open day ("HH:MM-HH:MM"); [] for a closed day.
noterequiredstring or nullLabel, e.g. "Christmas Day".
permissionsrequiredobject
createrequiredboolean
updaterequiredboolean
deleterequiredboolean
delete_impactrequiredobject
blockedrequiredboolean
reasonrequiredstring or null
warningrequiredstring or null
referencesrequiredarray of object
typerequiredstring
labelrequiredstring
countrequiredinteger-9007199254740991–9007199254740991
examplesrequiredarray of string

Errors

Errors are application/problem+json. Branch on code.

StatusCodeWhen
400invalid_input

A field is missing or has the wrong format. errors[] points at each field.

401unauthenticated

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).

403entitlement_required

The workspace's plan does not include API access (api_access).

403insufficient_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.

404not_found

No calendar with this id in this workspace.

429rate_limited

The key or workspace went over its rate limit, or a service behind the API asked to slow down. Wait for Retry-After seconds (always sent).

503upstream_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.