I am having trouble with calling the outbound retell API. keep getting an error Request URL:
https://api.retellai.com/v2/create-phone-call
Payload: {'from_number': '+14157774444', 'to_number': '+12137774445', 'call_type': 'phone_call', 'override_agent_id': 'agent_434f03e134ab2f8bd6f18b6da6', 'metadata': {}, 'retell_llm_dynamic_variables': {'customer_name': 'John Doe'}}
Failed to initiate call: 404, {"status":"error","message":"Not Found"}
Response URL:
https://api.retellai.com/v2/create-phone-call
Response Headers: {'Date': 'Mon, 10 Nov 2025 21:45:58 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '40', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Content-Security-Policy': "default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests", 'Cross-Origin-Opener-Policy': 'same-origin', 'Cross-Origin-Resource-Policy': 'same-origin', 'Origin-Agent-Cluster': '?1', 'Referrer-Policy': 'no-referrer', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'X-Content-Type-Options': 'nosniff', 'X-DNS-Prefetch-Control': 'off', 'X-Download-Options': 'noopen', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-XSS-Protection': '0', 'ETag': 'W/"28-oxQD5GafiumufMFu6vqHJxUVbEs"', 'Vary': 'Accept-Encoding'}