Agents
Create Agent
Create a prompt-based voice agent
POST
Creates a prompt-based voice agent and deploys it immediately — the returned
agent_id can be used right away as override_agent_id on Dial.
Only prompt-based agents can be created via the API. Flow agents (multi-step
conversational flows with branching, function calls, and knowledge bases) are
built in the dashboard.
Body Parameters
Agent display name.
System prompt that defines the agent’s behavior.
Language code, e.g.
he or en.Voice display name. One of
Keren, Karmit, Kobi, Kfir, Dana, Dafna, Dorin, Dan, Dor, David, Sapir, Steve.Message the agent speaks first when it answers. When empty, the agent opens
the conversation from the prompt.
Variables to supply at call time (via
vars_provided on Dial).Variables the agent should extract from the conversation after the call.