Skip to main content
PUT
Create or replace a conversation target config

Authorizations

x-api-key
string
header
required

Path Parameters

target_kind
string
required
target_name
string
required

Body

application/json

Per-target configuration for the conversation bridge, keyed by (target_kind, target_name) — the agent or tool an inbound turn is routed to.

multichannel opts the target into person linking; greeting_template is the first-contact greeting, which may reference at most the {pairing_code} placeholder (minted at greeting time). The row carries no server-derived fields, so it IS its own create payload — no Create/stored split. An unknown {...} placeholder is refused so a typo cannot render literally; a blank template string is refused, because None is the explicit spelling for "no greeting". Frozen.

target_kind
enum<string>
required
Available options:
agent,
tool
target_name
string
required
Minimum string length: 1
greeting_template
string | null
multichannel
boolean
default:false
state_binding
StateBinding · object | null

The optional binding a door carries: one or more :class:StateAttach entries. Frozen.

The same shape is stored on PresetBody/PresetSeed, TargetConversationConfig, HookRegister and ScheduleCreate, deposited on ToolInvocation through the ambient dispatch context, and repeated per node by a flow engine.

Response

Success.

data
ConversationConfigSetResult · object
required

The created/replaced per-target conversation config.