curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Visual Self-Service Portal",
"model": "gpt-4o",
"instructions": "You are a telecom self-service agent. Help callers manage their accounts, upgrade plans, and pay bills. Send visual menus to their phone for complex selections. Support barge-in shortcuts for returning callers.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "deepgram", "voiceId": "aura-2-thalia-en" },
"visualIvrEnabled": true,
"visualIvrBaseUrl": "https://selfservice.example.com/menu",
"visualIvrAutoSms": true,
"callQueueEnabled": true,
"callQueueMaxSize": 20,
"callQueueMaxWaitMinutes": 10,
"bargeInEnabled": true,
"bargeInPhrases": ["pay my bill", "check balance", "talk to agent", "upgrade plan"],
"dtmfEnabled": true,
"smsMidCallEnabled": true,
"paymentProcessingEnabled": true,
"paymentProvider": "stripe",
"businessHoursEnabled": true,
"silenceFillersEnabled": true,
"recordingEnabled": true
}'