POST
/
v1
/
agents
curl --request POST \
  --url https://api.eqho.ai/v1/agents \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "name": "Liz",
  "description": "An agent that the sales team is testing.",
  "language": "EN",
  "avatar": "MAN",
  "voice_audio_id": "<string>",
  "role_ids": [
    "<string>"
  ],
  "action_ids": [
    "<string>"
  ],
  "action_flows": [
    [
      "<string>"
    ]
  ],
  "script_ids": [
    "<string>"
  ],
  "data_store_ids": [
    "<string>"
  ],
  "personality": {
    "adherence": 0.75,
    "empathy": 0.5,
    "humor": 0.25
  },
  "disable_greeting": true,
  "system_prompt": null,
  "conversation_flow_id": "<string>",
  "end_conversation_on_goodbye": true,
  "enable_user_idle_timeout": true,
  "enable_parallel_tool_calls": true,
  "ai_settings": {
    "ai_model": "<string>",
    "frequency_penalty": 123,
    "max_tokens": 123,
    "presence_penalty": 123,
    "temperature": 123
  },
  "greeting_type_inbound": "static",
  "greeting_type_outbound": "static",
  "structured_greetings": [
    {
      "call_type": "inbound",
      "greeting_type": "static",
      "text": "Hello! Welcome to our service. How can I assist you today?"
    }
  ],
  "tts_settings": {
    "utterance_end_ms": "1000",
    "smart_format": false,
    "profanity_filter": false,
    "punctuate": true,
    "numerals": false,
    "keywords": [
      "<string>"
    ],
    "diarize": false,
    "dictation": false,
    "endpointing": "10",
    "filler_words": false
  },
  "smart_turn_detection": true,
  "voice_settings": null,
  "feature_flags": null
}'
{
  "avatar": "WOMAN",
  "data_store_ids": [
    "65a9758171f55af646a19890"
  ],
  "description": "An agent that the sales team is testing.",
  "greeting_type_inbound": "static",
  "greeting_type_outbound": "ai",
  "name": "Liz",
  "personality": {
    "adherence": 0.75,
    "empathy": 0.5,
    "humor": 0.25
  },
  "role_ids": [
    "65a9758171f55af646a19890"
  ],
  "script_id": "65a9758171f55af646a19890",
  "structured_greetings": [
    {
      "call_type": "inbound",
      "greeting_type": "static",
      "text": "Hello! Welcome to our service. How can I assist you today?"
    },
    {
      "call_type": "outbound",
      "communication_tone": "friendly",
      "greeting_length": "short",
      "greeting_type": "ai",
      "mention_ids": [
        "673e488ce7d69488a458cf3e",
        "973e488ce7d69488a458cf3e"
      ]
    }
  ],
  "voice_audio_id": "Y94lg6clSowTJ0jJOlyc"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

200
application/json
Successful Response

Container for a single agent record.