Skip to main content
PUT
Set calling countries

Authorizations

Authorization
string
header
required

An API key from Settings → API keys, sent as Authorization: Bearer kb_live_…. A workspace key starts kb_; a personal key starts kbp_ and acts as its owner.

Headers

If-Match
string
required

The revision you read (its ETag, an integer in quotes such as "7"), so a stale write is refused with 412. Required: a write without it is refused with 428.

Pattern: ^(W/)?"?[0-9]+"?$
Example:

"\"7\""

Kallabot-Version
enum<string>

The API version to answer as, a date (YYYY-MM-DD). Leave it out for the current version (2026-11-07). An unknown version is refused with 400 unsupported_api_version.

Available options:
2026-11-07
Example:

"2026-11-07"

Body

application/json
settings
Settings · object
required

Response

Successful Response

settings
Settings · object
required

outbound {mode: default | custom, countries: ISO codes}; inbound {mode: all | selected, countries}; numbers {phone_number_id: {outbound?, inbound?}} overrides.

revision
integer
required

0 before the first save. Send it back as If-Match.

home_country
string
required

The workspace's own country (from its billing currency).

number_countries
string[]
required

The countries of the workspace's numbers.

default_countries
string[]
required

Where calls can go while outbound.mode is default.

outbound_countries
string[]
required

Where calls can go now.

quick_picks
Quick Picks · object
required

home (only my country), numbers (my numbers' countries), zones_1_2 (everywhere in Zones 1–2).