curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Restaurant Reservation Agent",
"model": "gpt-4o",
"instructions": "You are the voice of Trattoria Bella restaurant. Greet callers warmly, remember regular diners, suggest specials, and book reservations. Be hospitable and knowledgeable about the menu.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "elevenlabs", "voiceId": "custom_trattoria_host" },
"voiceCloningEnabled": true,
"emotionEnabled": true,
"multilingualEnabled": true,
"multilingualAutoDetect": true,
"greetingVariantsEnabled": true,
"greetingVariants": [
"Buonasera! Welcome to Trattoria Bella. How may I help you?",
"Good evening! Thank you for calling Trattoria Bella."
],
"conversationalMemoryEnabled": true,
"memoryMaxPreviousCalls": 15,
"holidayCalendarEnabled": true,
"appointmentBookingEnabled": true,
"appointmentDuration": 90,
"appointmentConfirmationSms": true,
"smsMidCallEnabled": true,
"postCallFollowUpEnabled": true,
"postCallFollowUpType": "email",
"recordingEnabled": true
}'