Skip to main content
POST
Submit the WhatsApp team alert template

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
agent_id
string | null

The agent whose hand-off pings this is for: its own WhatsApp number sends them when it has one.

Maximum string length: 64

Response

Successful Response

ready
boolean
required

Every teammate can be pinged: a number is connected and the template is approved. Until then, teammates outside their 24-hour window are emailed instead.

sender
TeamAlertSender · object | null

The number that pings the team; null when the workspace has no connected WhatsApp number.

template
TeamAlertTemplate · object | null

The message template used for teammates who haven't written to the number in the last 24 hours; null until it is submitted.

reason
string | null

Why not ready: no_whatsapp_number, template_missing, template_pending, template_rejected, template_paused or template_disabled.