maureen
10/13/2025, 9:33 AMVapi Support Bot
10/13/2025, 9:34 AMassistantOverrides.variableValues block match exactly (including case). For example, if your prompt uses {{Name}}, your payload should look like:
json
{
"assistantId": "your-assistant-id",
"phoneNumber": "+1234567890",
"assistantOverrides": {
"variableValues": {
"Name": "John Doe",
"deal_id": "12345"
}
}
}
Make sure the variable names are identical in both places; otherwise, the assistant will not receive the values. [See more in the documentation.](https://docs.vapi.ai/assistants/dynamic-variables)
Source:
- [Variables Vapi Documentation](https://docs.vapi.ai/assistants/dynamic-variables)maureen
10/13/2025, 9:56 AMVercel
10/13/2025, 9:47 PMChiranjeet Mishra
10/14/2025, 7:07 PMassistantOverrides with the variableValues accurately. Here's an example structure for setting the variables:
json
{
"assistantId": "your-assistant-id",
"assistantOverrides": {
"variableValues": {
"name": "John",
"email": "john@example.com",
"deal_id": "12345"
}
},
"customer": {
"number": "+1xxxxxxxxxx"
},
"phoneNumberId": "your-phone-id"
}
Ensure that:
- The JSON payload is well-formed and includes all necessary sections.
- The call to the /call/phone endpoint includes the correct assistantId and phoneNumberId.
For further details, you can refer to the [documentation](https://docs.vapi.ai/assistants/dynamic-variables) on using dynamic variables. If the assistant still doesn't receive the variables, double-check if they appear correctly in the Vapi Call Logs under "Variables" section.