curl --request POST \
--url https://api.example.com/api/agents \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>",
"agent_name": "<string>",
"agent_phone_number": "<string>",
"voice_id": "<string>",
"welcome_text": "<string>",
"call_type": "INCOMING",
"enabled": true,
"tools": [
"<unknown>"
],
"save_stats": true,
"server_type": "DEV",
"provider_type": "EXOTEL",
"llm_config_json": {},
"audio_config_json": {},
"call_settings_json": {},
"analytics_config_json": {},
"tools_config_json": {},
"created_from_template_id": 123,
"created_from_template_version": 123
}
'