curl --request POST \
--url https://api.elemente.ai/api/v1/agents \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"agentType": "AI",
"roleText": "Customer Support",
"capabilities": [],
"inboundCapability": "answer",
"jobDescriptions": "Customer Support",
"baseInstructions": "Welcome to our customer support!",
"temperature": "0.7",
"modelProvider": "OpenAI",
"modelName": "gpt-4o",
"actions": [
"<string>"
],
"leadQualification": "<string>",
"globalActions": [
"<string>"
],
"skillId": "Customer Support Representative",
"skills": [
"<string>"
],
"language": "en-US",
"voiceStability": 0.5,
"voiceSpeed": 1.5,
"voiceId": "1234567890",
"optimizeStreamingLatency": true,
"sendFillerWords": false,
"sendInitialMessage": true,
"fillerWords": [
"Got it.",
"Understood",
"Awesome"
],
"cutoffResponses": [
"Can you repeat that?",
"Sorry, I didn'\''t get that.",
"I didn'\''t understand that.",
"Can you talk a little bit slow?"
],
"enableCutoffResponses": true,
"endCallOnGoodBye": true,
"goodByePhrases": [
"Goodbye",
"Talk to you later"
],
"allowedIdleTime": 10,
"checkHumanPresence": true,
"checkHumanPresenceCount": 5,
"allowInterruption": true,
"interruptionSensitivity": "high",
"functionality": "interactive",
"interactionSettings": {
"channel": "call",
"direction": "outbound",
"inbound": true,
"outbound": true
},
"name": "John Doe",
"nickname": "John Seller",
"lastname": "Doe",
"imageURL": "https://example.com/image.jpg",
"phone": "+1234567890",
"isInbound": false,
"workspace": false
}'