Save a WhatsApp setup
Replaces the WhatsApp setup saved with this agent (up to 256 KB). Send If-Match with the revision you read ("0" before the first save); a stale revision gets 412. It doesn’t change the agent’s configuration.
Scopes: agent:write
Authorizations
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
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.
^(W/)?"?[0-9]+"?$"\"7\""
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.
2026-11-07 "2026-11-07"
Path Parameters
Body
The studio editor's whole document, stored as sent (at most 256 KB).