Skip to main content
POST
Create agent
Creates a minimal agent from a persona. The prompt, voice, and other behavior settings are configured afterward via Patch update agent.

Body parameters

string
required
Agent display name, 1–120 characters. This is the only required field
string
Channel the agent serves — one of VOICE, CHAT, WHATSAPP, SMS
string
A persona ID to initialize the agent with — list available personas via GET /prompts/personas.
string
System prompt driving the agent’s behavior and personality.
string
LLM model UUID to run the agent on — list available LLM models & providers via GET /llm/models.
string
Agent description or internal notes.
string
Voice profile UUID, for VOICE agents — list available voices via GET /voices.
string
Knowledge base UUID to ground the agent’s answers in.
boolean
default:"true"
Whether the agent speaks first upon connection.
string
default:"Hello"
Opening line when greet is enabled.
boolean
default:"false"
Whether calls handled by this agent are recorded.
boolean
default:"true"
Whether the agent is active.

Response

The response’s id is the agent’s channel id, used for most endpoints (calls, campaigns, patching). Some endpoints — like generating a prompt — use the agent’s underlying brain id instead, returned as agent_id or brain.id on this same response.