Skip to content
API PlatformDevelopers
GET/v1/business-hours/statusbeta

Are we open now?

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.

Whether the business is open at a moment (now by default), why, and when that changes: open, the reason (weekly, holiday, exception_open, always_open, no_calendar), today's hours, next_open_at / next_close_at and the holiday label. Computed by the platform with the same engine as the SLA timers, in the calendar's timezone. Precedence among active calendars: channel → team → company-scoped (the default first) → company default. no_calendar and always_open both mean open.

Try it

Query (5)

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

`company`, `channel` or `team`.

The channel or team id, with `scope` `channel` or `team`.

Resolve for this conversation: its channel, then its assigned team, then the company.

ISO-8601 with an offset, e.g. `2026-10-19T04:00:00Z`. Default: now.

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/status?conversation_id=9021' \
  -H "Authorization: Bearer $API_KEY"

The code reads your key from $API_KEY.

Parameters

Parameters
FieldTypeWhat it is
business_hours_idstring | integer · queryThe calendar id (id from List business hours).
scopestring · querycompany, channel or team.one of: company, channel, team
scope_idstring | integer · queryThe channel or team id, with scope channel or team.
conversation_idstring | integer · queryResolve for this conversation: its channel, then its assigned team, then the company.
atstring · queryISO-8601 with an offset, e.g. 2026-10-19T04:00:00Z. Default: now.0–40 characters

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

Open or closed, why, today's hours and the next change.

Response fields
FieldTypeWhat it is
openrequiredbooleanOpen at at (now by default). no_calendar and always_open both mean open.
reasonrequiredstringweekly = the weekly hours; holiday = a closed day; exception_open = special hours today; always_open = a 24×7 calendar; no_calendar = none applies (open).one of: weekly, holiday, exception_open, always_open, no_calendar
always_openrequiredboolean
resolved_byrequiredstringHow the calendar was picked: id (you named it), channel, team (the conversation's assigned team), company (company-scoped), company_default, none.one of: id, channel, team, company, company_default, none
calendarrequiredobject or nullThe calendar used; null when none applies.
idrequiredstring
namerequiredstring
timezonerequiredstring
activerequiredboolean
local_timerequiredstring or nullat in the calendar's timezone, ISO-8601 with its offset.
current_windowrequiredobject or nullThe open window containing at (UTC instants); null when closed.
open_atrequiredstring
close_atrequiredstring
todayrequiredarray of objectToday's open windows: local HH:MM plus UTC instants.
openrequiredstring
closerequiredstring
open_atrequiredstring
close_atrequiredstring
next_open_atrequiredstring or nullNext opening (UTC). Null beyond 14 days or when always open.
next_close_atrequiredstring or nullWhen the current window closes, or the next window's close when closed (UTC). Null beyond 14 days or when always open.
exceptionrequiredobject or nullThe holiday or special day covering today, if any.
daterequiredstringLocal date (YYYY-MM-DD) it covers.
noterequiredstring or nullThe label, e.g. "Eid" (one line, at most 80 characters; safe to quote to customers).
openrequiredbooleanfalse = closed all day (a holiday); true = open with its own hours.
yearlyrequiredbooleantrue = from a yearly rule; false = a one-off date.
upcoming_exceptionrequiredobject or nullThe next holiday or special day within 14 days.
daterequiredstringLocal date (YYYY-MM-DD) it covers.
noterequiredstring or nullThe label, e.g. "Eid" (one line, at most 80 characters; safe to quote to customers).
openrequiredbooleanfalse = closed all day (a holiday); true = open with its own hours.
yearlyrequiredbooleantrue = from a yearly rule; false = a one-off date.

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. More than one way to pick the calendar, scope_id missing for a channel or team, or at not ISO-8601 with an offset / outside 1 day ago … 18 months ahead.

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

The calendar, conversation, channel or team is not 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

Open now, for a conversation

Response 200

{
  "open": true,
  "reason": "weekly",
  "always_open": false,
  "resolved_by": "company_default",
  "calendar": {
    "id": "14",
    "name": "Head office",
    "timezone": "Asia/Dubai",
    "active": true
  },
  "local_time": "2026-10-19T10:15:00+04:00",
  "current_window": {
    "open_at": "2026-10-19T05:00:00Z",
    "close_at": "2026-10-19T14:00:00Z"
  },
  "today": [
    {
      "open": "09:00",
      "close": "18:00",
      "open_at": "2026-10-19T05:00:00Z",
      "close_at": "2026-10-19T14:00:00Z"
    }
  ],
  "next_open_at": "2026-10-20T05:00:00Z",
  "next_close_at": "2026-10-19T14:00:00Z",
  "exception": null,
  "upcoming_exception": {
    "date": "2026-12-02",
    "note": "National Day",
    "open": false,
    "yearly": false
  }
}
Closed for a holiday

Response 200

{
  "open": false,
  "reason": "holiday",
  "always_open": false,
  "resolved_by": "id",
  "calendar": {
    "id": "14",
    "name": "Head office",
    "timezone": "Asia/Dubai",
    "active": true
  },
  "local_time": "2026-12-02T10:00:00+04:00",
  "current_window": null,
  "today": [],
  "next_open_at": "2026-12-03T05:00:00Z",
  "next_close_at": "2026-12-03T14:00:00Z",
  "exception": {
    "date": "2026-12-02",
    "note": "National Day",
    "open": false,
    "yearly": false
  },
  "upcoming_exception": null
}

Operation path

The same operation is also at POST /v1/ops/business_hours_status, with every field in the JSON body.