harkxn
11/29/2025, 7:52 PMAI Evy
11/29/2025, 7:52 PMAI Evy
11/29/2025, 7:52 PMdynamic_variables, metadata, and agent_override .
Example response structure [(2) ]() :
json
{
"call_inbound": {
"override_agent_id": "agent_12345",
"override_agent_version": 1,
"dynamic_variables": {
"customer_name": "John Doe"
},
"metadata": {
"random_id": "12345"
}
}
}
This response must return a successful status code (2xx) [(1) ]() .
## Custom Function Webhook
For custom functions, you can configure an endpoint URL where Retell will POST structured data [(3) ]() . You can set:
- HTTP method (GET, POST, PATCH, PUT, DELETE)
- Request headers (optional)
- Query parameters (optional)
- Request body parameters using JSON schema format (for POST, PATCH, PUT)
Your endpoint receives the structured JSON and returns a response :
json
{
"result": "25f and sunny"
}
Both approaches allow you to send and receive structured JSON without requiring function calling logic in your agent configuration.
---
**AI Evy
11/29/2025, 7:52 PMAI Evy
11/29/2025, 7:52 PMharkxn
11/29/2025, 7:53 PM