Request
Your organization ID
Your organization API key
Name for the agent
Description of the agent’s purpose
Base prompt/instructions for the agent’s behavior
ID of the voice to use (from Get Voices endpoint)
Primary language code (e.g., “en”, “es”, “hi”)
Custom greeting message
Primary goal of the agent (e.g., “schedule_appointment”, “qualify_lead”)
Examples
Response
Indicates if the agent was successfully created
ID of the newly created agent
Name of the created agent
Status of the agent (active, draft)
Success Response (200 OK)
Error Responses
Missing required fields or invalid parameters
Organization not found or invalid voice_id
Server error