Skip to main content
POST
Create Agent

Body

application/json
prompt
string
required
agent_name
string
required
agent_phone_number
string
required
voice_id
string
required
welcome_text
string
required
call_type
enum<string>
required
Available options:
INCOMING,
OUTGOING
enabled
boolean
default:true
tools
any[] | null
save_stats
boolean
default:true
server_type
enum<string>
default:DEV
Available options:
LOCAL,
DEV,
QA,
PROD
provider_type
enum<string>
default:EXOTEL

Telephony provider types for call agents.

Available options:
EXOTEL,
PLIVO_CX,
PLIVO_L
llm_config_json
Llm Config Json · object
audio_config_json
Audio Config Json · object
call_settings_json
Call Settings Json · object
analytics_config_json
Analytics Config Json · object
tools_config_json
Tools Config Json · object | null
created_from_template_id
integer | null
created_from_template_version
integer | null

Response

Successful Response