Skip to main content
POST
Block or trust many numbers

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

Idempotency-Key
string
required

A unique key (a UUID works) for this request. Retrying with the same key returns the first answer instead of running twice.

Maximum string length: 255
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

Many numbers at once (a pasted list or a CSV's numbers).

numbers
string[]
required
Required array length: 1 - 500 elements
list
enum<string>
default:blocked
Available options:
blocked,
trusted
reason
string | null
Maximum string length: 280
hours
integer | null
Required range: 1 <= x <= 720

Response

Successful Response

saved
integer
required

Numbers added or moved to this list.