Skip to main content
PATCH
Change a block

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

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"

Path Parameters

entry_id
string<uuid>
required

Body

application/json

Move between the lists, or change how long. forever drops the end; hours sets a new one.

list
enum<string> | null
Available options:
blocked,
trusted
hours
integer | null
Required range: 1 <= x <= 720
forever
boolean
default:false

Response

Successful Response

id
string
required
kind
enum<string>
required

number covers that number's calls and WhatsApp chats.

Available options:
number,
instagram,
messenger,
tiktok,
web
label
string
required

A masked number, or the person's name or handle.

list
enum<string>
required

trusted: never caught by a limit (test numbers, staff, regulars who call a lot).

Available options:
blocked,
trusted
source
enum<string>
required

auto when a limit caught them.

Available options:
manual,
auto
active
boolean
required

False for a pause that has ended (listed for a week).

hits
integer
required

Calls refused and messages left unanswered since.

created_at
string
required
updated_at
string
required
rule
string | null

The limit that caught them: calls_hour, calls_day, short_calls, messages_hour or messages_day.

reason
string | null
expires_at
string | null

When a pause ends; null = until unblocked.

last_hit_at
string | null
added_by
string | null
ref
Ref · object | null

The chat (channel whatsapp|instagram|messenger|tiktok|web and its conversation id) or call (channel call) they were blocked from.