https://retellai.com/?utm_source=discord&utm_medium=seo logo
Dynamic Variables For Inbound Calls
# ❓・bug-report
s
I have set-up a inbound_dynamic_variables_webhook_url for my Retell Agent. As per the docs, the webhook should expect { "llm_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD", "from_number": "+12137771234", "to_number": "+12137771235" } But i get two different objects '{"call_inbound": {"llm_id": "", "from_number": "", "to_number": ""}}' or '{"llm_id": "", "from_number": "", "to_number": ""}' Seems like a bug on your end Also, the docs keep changing on how the Retell agent expects the output In the middle, the format was changed to "call_inbound": { "dynamic_variables":{ "user_name": "John Doe", "user_email": "john@example.com" } } Now the docs say { "user_name": "John Doe", "user_email": "john@example.com" } Can you please clarify. And keep it consistent! P.S. My inbound url is a lambda function
@User
n
I noticed this as well (except it's
agent_id
in the
call_inbound
) example. My hunch is that the format is different based on whether the webhook was originally configured via the agent-level webhook (which is now deprecated) or the phone-level webhook. In any case, this change happened without notice and broke our integration – until further notice, we are handling both request types
f
yes, please use the new phone level webhook, the agent level webhook is deprecated