Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Path Parameters

id
string
required

The TFU Live agent id, with its tfu_live: prefix, as GET /api/tfu-live-agents returns it. Other agent ids are refused.

Query Parameters

locationId
string
required

The sub-account. It must belong to the agency, and be the credential’s own sub-account when the credential is limited to one.

Body

application/json

The whole agent as it should be after the edit: { ifVersion, name, brain, voice }, with ifVersion the version you read.

ifVersion
string
required

The agent’s ifVersion from your last read, such as GET /api/tfu-live-agents/{id}. If the agent changed since, the request is refused with 409.

Minimum string length: 1
name
string
required

The agent’s name. The Brain and the voice prompt say it wherever they hold {{agent_name}}.

Minimum string length: 1
brain
object
required

The agent’s Brain: its instructions (prompt), the tool groups it uses (capabilities), and its workflows and settings (capabilityConfig).

voice
object
required

How the agent sounds on calls: its voice, how it speaks and an optional background sound.

chat
object

How the agent’s texts read. Without it, the default text style is used.

calls
boolean

false: the agent only texts. It is never called: no lead dials, callbacks, incoming calls or phone tests. It needs Chat (the messaging capability) and no Schedule AI call or Transfer step, and its campaign texts from the CRM's own number, so it needs no phone number. Omit, or true, for an agent that calls.

confirmScheduledCallsLost
boolean

true: turn calls off even though the agent's live campaign still has calls queued for leads, knowing those calls will not be made. Without it, an edit that turns calls off while any are queued is refused with 409 TFU_LIVE_CALLS_SCHEDULED and the count in scheduledCalls, and nothing is saved. Not stored on the agent.

Response

Successful TFU Live response. Setup acceptance is not verified readiness or campaign activation.

success
any
required
data
object
required