https://retellai.com/?utm_source=discord&utm_medium=seo logo
404 when creating agent with /create-agent
# ❓・bug-report
s
Can someone tell me what Im doing wrong? I want to create an agent via api, so im sending a POST request to https://api.retellai.com/create-retell-llm and get a 200. In the response I get my llm_id but
is_published
is false for some reason. With this llm_id I am then sending another POST to /create-agent but it returns a 404 not found. Here's my payload:
Copy code
{
  "response_engine": {
    "type": "retell-llm",
    "llm_id": "{{llm_id}}"
  },
  "agent_name": "Sara-Hyprlabs",
  "voice_id": "11-bella",
  "voice_model": "eleven_flash_v2_5",
  "ambient_sound": "call-center",
  "ambient_sound_volume": 0.2,
  "language": "en-US",
  "responsiveness": 0.9,
  "interruption_sensitivity": 0.8,
  "voice_speed": 1.1,
  "voice_temperature": 0.7,
  "volume": 0.9,
  "stt_mode": "fast",
  "denoising_mode": "noise-cancellation",
  "max_call_duration_ms": 300000,
  "enable_backchannel": true,
  "response_delay_ms": 200,
  "silence_detection": {
    "silence_duration_ms": 1500,
    "silence_threshold": 0.1
  },
  "normalize_for_speech": true
}
Any idea why? Thanks!
I was sending a bad voice id 🙃
s
Oh okay, so has your issue been resolved now?