Skip to main content
POST
Create Agent
string
required
Agent display name (max 60 characters).
string
Draft system prompt that defines the agent’s personality, role, and behavior.
string
Published (live) system prompt. This is the prompt used during actual calls.
object
Welcome message configuration.
object
Text-to-speech voice configuration.
string
LLM model identifier. Examples: "gpt-4o", "claude-sonnet-4-20250514", "gemini-2.0-flash".
string
Language code (default: "en").
string[]
Tools the agent can use during conversations. Examples: ["end_call", "transfer_call"].
object
Per-tool configuration (transfer numbers, Cal.com keys, etc.).
object
Background audio preset (e.g., office, cafe, restaurant).
boolean
Enable agent backchannel responses (e.g., “uh-huh”, “I see”).
string[]
Knowledge base folder IDs to attach to the agent.
number
Maximum call duration in seconds. 0 means unlimited.
object
Default values for {{variable}} placeholders in the prompt.
object
Call-level settings (voice speed, volume, etc.).
object
Fallback voice config if the primary TTS provider fails.
string
Fallback LLM model if the primary model fails.
array
Fields to extract from calls via AI after the call ends.
string
LLM model to use for post-call data extraction.
string
URL to receive post-call webhook notifications.
string
"inbound" or "outbound".
string
Agent role: "reception", "booking", "sales", or "followup".
string
Agent mode: "pipeline", "native_audio", or "openai_realtime".

Request

Response