K Rudy
04/21/2026, 5:32 AMAI Evy
04/21/2026, 5:32 AMAI Evy
04/21/2026, 5:32 AMjson
{
"event": "call_inbound",
"call_inbound": {
"agent_id": "agent_12345",
"agent_version": 1,
"from_number": "+12137771234",
"to_number": "+12137771235"
}
}
3. Return a JSON response with dynamic variables under the call_inbound key :
json
{
"call_inbound": {
"dynamic_variables": {
"customer_name": "John Doe"
},
"metadata": {
"random_id": "12345"
}
}
}
The webhook has a 10-second timeout and will retry up to 3 times if no success status (2xx) is received . You can also override the agent ID, agent version, and other agent settings in the same response .
**Important**: The inbound webhook must be configured at the phone number level, not the agent level [(2) ]() [(3) ]() .AI Evy
04/21/2026, 5:32 AMAI Evy
04/21/2026, 5:32 AMK Rudy
04/21/2026, 5:42 AMAI Evy
04/21/2026, 5:42 AMAI Evy
04/21/2026, 5:42 AM{{customer_name}}) [(1) ]() [(3) ]()
- **metadata**: Stored with the call object for your reference but not directly used in the conversation [(1) ]() [(2) ]()
Both fields are optional in your webhook response [(1) ]() . You only need to include the fields that are relevant to your use case.AI Evy
04/21/2026, 5:42 AMAI Evy
04/21/2026, 5:42 AM