https://retellai.com/?utm_source=discord&utm_medium=seo logo
Webhook events contains wrong structure.
# ❓・bug-report
s
Hi @NicuB
Looking at your payload, you have nested message objects which is incorrect.
{ "event": "call_analyzed", "call": { "call_id": "call_ef5017ffa32cb26c1f95483ee51", "call_type": "web_call", "agent_id": "agent_62334ab3b52364677283a790bb", "agent_version": 37, "agent_name": "Dentist Receptionist Conversation Flow", "retell_llm_dynamic_variables": { "patient_first_name": "", "user_number": "07552460151", "token": "" } // ... other call fields } }
The payload should have event and call at the top level - not wrapped in message objects
n
I know, but this is the payload I get from retell via webhooks. Retell is sending it nested for call_analyzed event.
s
I send this to the team to look