backwoods5482
08/13/2025, 8:51 PMAI Evy
08/13/2025, 8:51 PMAI Evy
08/13/2025, 8:52 PM[ { call_inbound: { dynamic_variables: [Object] } } ] - notice the square brackets indicating an array .
The inbound call webhook expects a JSON response with fields grouped under call_inbound, not wrapped in an array . Here's the correct format:
json
{
"call_inbound": {
"override_agent_id": "agent_12345",
"override_agent_version": 1,
"dynamic_variables": {
"customer_name": "John Doe"
},
"metadata": {
"random_id": "12345"
}
}
}
Your response structure should be a direct JSON object, not an array containing the object . Remove the array wrapper and return just the JSON object with the call_inbound field .AI Evy
08/13/2025, 8:52 PMAI Evy
08/13/2025, 8:52 PM