Skip to main content
POST

Authorizations

x-public-key
string
header
required
x-private-key
string
header
required

Headers

x-public-key
string
required
x-private-key
string
required
workspace
string
required

Body

application/json
name
string
required
Maximum string length: 40
variant
object
required
agent
object
required
telephony
object

Telephony numbers linked to the assistant. Each value is the _id of a telephony number (from GET /v1/number-pool/{telephonyNumberId} or POST /v1/number-pool/purchase).

  • inbound — the phone number customers call to reach this assistant. When someone dials it, the assistant picks up automatically and follows its systemPrompt. Only one assistant can hold an inbound number at a time; assigning it here removes it from any other assistant.
  • outbound — the caller ID shown to customers when the assistant places an outgoing call.

Auto-assignment: In production, the first assistant in a new workspace automatically receives the workspace's default number as outbound. Additional assistants must be assigned numbers explicitly.

analysisPlan
object

Post-call AI evaluation configuration. After each call ends, the platform runs these prompts against the call recording and transcript. Results are returned in the end-of-call webhook event and visible in the call dashboard.

preCall
object

Configure pre-call enrichment during assistant creation. Supports templated apiPlan.headers and apiPlan.body values from per-call variableValues.

icpContext
object
callSettings
object
knowledgeBase
object

Combined knowledge base containing both documents and FAQ entries.

Response

Assistant Created

message
string
Example:

"Assistant created successfully"

data
object