curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Outbound Sales Dialer",
"model": "gpt-4o",
"instructions": "You are an outbound sales agent. Check DNC before calling. Present a concise value proposition. Handle objections with empathy. Track conversions when sales close. Never be pushy.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "deepgram", "voiceId": "aura-2-thalia-en" },
"dncListEnabled": true,
"dncCheckMode": "before_call",
"analyticsEnabled": true,
"analyticsTrackConversions": true,
"analyticsConversionEvent": "sale_completed",
"crmAutoSyncEnabled": true,
"crmProvider": "hubspot",
"speedToLeadEnabled": true,
"predictiveDialerEnabled": true,
"dialerMode": "progressive",
"greetingVariantsEnabled": true,
"greetingVariants": [
"Hi! This is Alex from Acme Solutions. Do you have a quick moment?",
"Hello! Calling from Acme Solutions — we help businesses save up to 30%. Can I take two minutes?"
],
"voicemailDropEnabled": true,
"sentimentEscalationEnabled": true,
"recordingEnabled": true
}'