Skip to main content
POST
Create or replace a conversation route

Authorizations

x-api-key
string
header
required

Path Parameters

route_name
string
required

Body

application/json

The client-facing create/edit body for a conversation route: the fields a caller supplies.

Binds an agent_name to an execution_key the turn runs AS (bound with pass-role at create). api rows carry an https callback_url; channel rows carry the registry channel plus the our_identity the medium is texted at (N rows may share a channel, each its own identity). The server-derived callback_secret and execution_key_fingerprint are deliberately absent; :class:ConversationRoute is this shape plus those. Frozen.

agent_name
string
required
Minimum string length: 1
door
enum<string>
required
Available options:
api,
channel
execution_key
string
required

The api-key user_id the turn runs AS; its live stored grants authorize the agent run and every tool call the turn makes.

Minimum string length: 1
route_name
string
required
callback_url
string | null
channel
string | null
our_identity
string | null

Response

Success.

data
any
required