maxluz
10/24/2025, 2:59 PMAI Evy
10/24/2025, 2:59 PMAI Evy
10/24/2025, 2:59 PMAI Evy
10/24/2025, 2:59 PMAI Evy
10/24/2025, 2:59 PMmaxluz
10/24/2025, 3:28 PMAI Evy
10/24/2025, 3:28 PMAI Evy
10/24/2025, 3:28 PM{{}}.
The Create Chat Completion API endpoint only accepts chat_id and content parameters [(1) ]() . The content parameter is described as "user message to generate agent chat completion" .
Dynamic variables are set when initially creating a chat session through the Create Chat API, which accepts retell_llm_dynamic_variables as an optional parameter in key-value pairs [(2) ]() . For example:
javascript
{
"customer_name": "John Doe"
}
However, the sources don't explicitly document whether you can update or pass new dynamic variables through subsequent chat completion calls, or whether you can embed variables directly in the content using {{}} syntax.
For specific guidance on updating variables mid-conversation or the supported variable syntax in chat content, I'd recommend:
- [Create Chat Completion]()
- [Create Chat]()
Would you like a general answer based on my knowledge instead?AI Evy
10/24/2025, 3:29 PMAI Evy
10/24/2025, 3:29 PM