Create Agent
Create a new voice AI agent with system instructions and voice configuration.
Authorizations
API key authentication. Include your API key in the Authorization header: Bearer <your_api_key>
Headers
Optional idempotency key for safe retries
Body
Display name for the agent
1 - 255"Customer Support Agent"
ID of the voice to use (get available voices from GET /voices)
"voice_c7d82fec"
Instructions for how the agent should behave during calls
1"You are a helpful customer support agent. Be friendly and professional. Ask how you can help."
Optional description of the agent's purpose
1000"AI-powered customer support agent for handling inquiries"
Optional custom greeting message
"Hello! Thank you for calling. How can I help you today?"
LLM temperature (0=deterministic, 1=creative). Default: 0.7
0 <= x <= 10.7
BCP47 language code (e.g., en-US, es-ES, fr-FR)
"en-US"
Enable call recording. Default: true
true
Maximum call duration (e.g., 3600s for 1 hour)
"3600s"
Timeout for callee to answer (e.g., 30s)
"30s"

