curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Enterprise IT Helpdesk",
"model": "gpt-4o",
"instructions": "You are an internal IT helpdesk agent. Verify employee identity, troubleshoot issues, create tickets via MCP, and escalate to L2 engineers via conference call when needed. Get verbal approval before high-impact changes like password resets.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "deepgram", "voiceId": "aura-2-thalia-en" },
"mcpServerEnabled": true,
"mcpServerUrl": "https://mcp.internal.example.com",
"mcpServerTools": ["create_ticket", "update_ticket", "search_kb", "reset_password", "check_status"],
"conferenceCallingEnabled": true,
"conferenceMaxParticipants": 4,
"voiceApprovalEnabled": true,
"voiceApprovalMode": "blocking",
"callerAuthEnabled": true,
"callerAuthType": "employee_id",
"bargeInEnabled": true,
"bargeInPhrases": ["reset password", "check ticket", "VPN issue", "talk to engineer"],
"pronunciationDictEnabled": true,
"holdEnabled": true,
"recordingEnabled": true
}'