punk8357
01/23/2026, 8:44 PMAI Evy
01/23/2026, 8:44 PMAI Evy
01/23/2026, 8:44 PMAI Evy
01/23/2026, 8:44 PMretell_llm_dynamic_variables, not dynamic_variables. [(1) ]()
Your API request should look like this:
json
{
"agent_id": "...",
"to_number": "...",
"from_number": "...",
"retell_llm_dynamic_variables": {
"instructions": "Ask about chest pain, syncope, meds, allergies",
"on_behalf_of": "Dr X"
}
}
Note that all values must be strings. [(2) ]()
To answer your specific questions:
1. Correct field name: Use retell_llm_dynamic_variables, not dynamic_variables. [(1) ]()
2. Multi-Prompt agent support: Dynamic variables work in prompts across agent types. The documentation confirms they can be used in prompts, begin message, tool configurations, and more. [(2) ]()
3. Dashboard configuration: You can optionally set default values for dynamic variables at the agent level in the dashboard, which serve as fallbacks when variables aren't included in the call request. Beyond that, you just need to reference them in your prompt using the {{variable_name}} syntax.
Tip: You can verify your variables are being received by checking the call response—it should include retell_llm_dynamic_variables with your values if they were passed correctly. A community member experienced a similar issue and confirmed the variables weren't reaching Retell when using the wrong field name. [(3) ]()AI Evy
01/23/2026, 8:44 PM