m@ddy
08/07/2025, 4:26 AMVapi Support Bot
08/07/2025, 4:28 AMjson
{
"assistantId": "your-assistant-id",
"phoneNumberId": "your-phone-number-id",
"customer": { "number": "+1XXXXXXXXXX" },
"assistantOverrides": {
"variableValues": {
"name": "John Doe",
"mcNumber": "123456"
}
}
}
In your assistant's prompts, use {{name}} and {{mcNumber}} to reference these values throughout the call. This ensures the agent always has access to the lead's info and can personalize the conversation ([docs](https://docs.vapi.ai/assistants/dynamic-variables#using-dynamic-variables-in-a-phone-call)).
Source:
- [Using dynamic variables in a phone call](https://docs.vapi.ai/assistants/dynamic-variables#using-dynamic-variables-in-a-phone-call)