Skip to main content
PATCH
Error

Authorizations

Authorization
string
header
required

A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange. Only a 401 means it is spent; not_a_member (403) is about the organization named in X-Organization-Id and leaves the token good for the others.

Headers

X-Organization-Id
string

The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.

Body

application/json
timezone
string

IANA zone name the business hours are read in, e.g. America/Sao_Paulo.

business_hours
object

Weekday keys (mon..sun) to lists of {start, end} windows in HH:MM; a day absent is a day closed.

targets
object

Priority keys (low, normal, high, urgent) to targets in business minutes.

Response

The stored policy.

The team's promise about waiting, as data: business hours in the policy's own timezone, targets in business minutes per priority. One policy per organization. Deadlines are projected onto conversations at their transitions; pending and snoozed pause the clock and reopening resumes what was left.

configured
boolean

False means no policy is stored and no clocks run — the other fields are then the defaults offered as a starting point, never a policy in effect.

timezone
string

IANA zone name, e.g. America/Sao_Paulo.

business_hours
object

Weekday keys (mon..sun) to lists of {start, end} windows in HH:MM; a day absent is a day closed.

targets
object

Priority keys to targets in business minutes. A priority absent carries no SLA; a zero target disables that clock alone.