joshua_61313
12/02/2025, 10:54 PMAI Evy
12/02/2025, 10:54 PMAI Evy
12/02/2025, 10:54 PMAI Evy
12/02/2025, 10:54 PMAI Evy
12/02/2025, 10:54 PMjoshua_61313
12/16/2025, 10:16 PMAI Evy
12/16/2025, 10:16 PMAI Evy
12/16/2025, 10:17 PMwebhook_url field. [(1) ]() [(2) ]()
The webhook_url parameter is a single string value (or null to remove it) , not an array. If set, it binds webhook events for that agent to the specified URL and ignores the account-level webhook for that agent.
Workaround options:
1. Use dynamic variables – You can set your webhook URL as a dynamic variable like {{base_url}} and configure it in Global Settings → Security and Fallback Settings under "Dynamic Variables." This lets you change the URL in one place. [(3) ]()
2. Build a webhook relay – Create a single endpoint that receives Retell webhooks and forwards them to multiple destinations on your end.AI Evy
12/16/2025, 10:17 PMAI Evy
12/16/2025, 10:17 PMjoshua_61313
12/16/2025, 10:18 PMAI Evy
12/16/2025, 10:19 PMjoshua_61313
12/16/2025, 10:19 PMAI Evy
12/16/2025, 10:19 PMget_user_details)
- Its own endpoint URL where Retell sends the request
- Its own HTTP method (GET, POST, PATCH, PUT, DELETE)
- Optional headers and query parameters
- Its own parameter schema
So you can add multiple custom functions to a single agent, and each one can point to a different API endpoint. [(2) ]() [(3) ]()
For example, you could have:
- check_weather → `
- book_appointment → `
- get_user_details → `
The LLM decides which function to call based on the conversation context, and Retell sends the request to that function's specific endpoint. [(3) ]()AI Evy
12/16/2025, 10:19 PMAI Evy
12/16/2025, 10:19 PMjoshua_61313
01/13/2026, 8:50 PMAI Evy
01/13/2026, 8:50 PMAI Evy
01/13/2026, 8:51 PMAI Evy
01/13/2026, 8:51 PMAI Evy
01/13/2026, 8:51 PMjoshua_61313
01/15/2026, 11:44 PMAI Evy
01/15/2026, 11:44 PMAI Evy
01/15/2026, 11:44 PM"type": "object" to the top level of your JSON schema. [(1) ]()
Correct format example:
json
{
"type": "object",
"required": [
"order_id"
],
"properties": {
"order_id": {
"type": "number",
"const": 1234
}
}
}
[(2) ]() , [(1) ]()
Common mistakes to avoid:
1. Don't include meta-schema fields like $schema, title at the root level—model your parameters off OpenAI's function calling format only. [(3) ]()
2. **Known issue with updates**: Some users have reported that updating an existing custom function (changing URL or parameter names) can cause the function to stop receiving arguments properly, showing {} instead of the expected payload. Creating a new function from scratch has resolved this for some users. [(4) ]()
Troubleshooting tip from the docs: If you fail to save the custom function, click one of the provided examples in the dashboard and update accordingly. [(1) ]()
If the issue persists after verifying your schema format, try creating a brand new custom function rather than updating an existing one.AI Evy
01/15/2026, 11:44 PMAI Evy
01/15/2026, 11:44 PMjoshua_61313
01/16/2026, 6:21 PMAI Evy
01/16/2026, 6:21 PMAI Evy
01/16/2026, 6:21 PMauto_close_message, end_chat_after_silence_ms, and post_chat_analysis_data.
For inbound SMS specifically, you would attach a chat agent to your phone number. The inbound webhook can notify you when an inbound SMS is received, allowing you to override the agent id, set dynamic variables, and process the SMS accordingly. [(2) ]()
The inbound webhook payload for SMS includes the from_number and to_number fields to help identify the sender and receiver.
For outbound SMS conversations, you use the Create Outbound SMS API endpoint which requires specifying from_number, to_number, and optionally override_agent_id to specify which chat agent handles the conversation. [(3) ]()AI Evy
01/16/2026, 6:21 PMAI Evy
01/16/2026, 6:21 PM