curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Secure Account Agent",
"model": "gpt-4o",
"instructions": "You help customers with account inquiries. Caller must verify their identity before you process any request.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "deepgram", "voiceId": "aura-2-thalia-en" },
"callerAuthEnabled": true,
"callerAuthType": "pin",
"callerAuthPrompt": "Please provide your 4-digit security PIN.",
"callerAuthMaxAttempts": 3,
"callerAuthFailAction": "end_call"
}'