Rafa @Workingman's AI
11/10/2025, 9:48 PMVapi Support Bot
11/10/2025, 9:50 PM{{customer.number}}. For any other customer property, you can use the syntax {{customer.X}} (e.g., {{customer.name}}) if you supply that property in your API request:
json
{
"variableValues": {
"customer.name": "John Doe"
}
}
Refer to the documentation for more details and examples.
Source:
- [Dynamic Variables | Vapi Documentation](https://docs.vapi.ai/assistants/dynamic-variables)Vapi Support Bot
11/11/2025, 2:35 PMChiranjeet Mishra
11/11/2025, 8:01 PM{{customer.number}} dynamic variable not being populated or incorrect, please verify the implementation of your phone call request setup. This includes ensuring that the customer's phone number is correctly included in the JSON payload sent to the /call/phone endpoint. Here is an example JSON payload format for setting dynamic variables:
json
{
"assistantId": "your-assistant-id",
"assistantOverrides": {
"variableValues": {
"name": "John"
}
},
"customer": {
"number": "+1xxxxxxxxxx"
},
"phoneNumberId": "your-phone-id"
}
Make sure that the number field under customer is populated with the correct phone number in E.164 format. You can find more details on dynamic variables and how to implement them in calls [here](https://docs.vapi.ai/assistants/dynamic-variables).
For any issues with {{customer.number}}, ensure your integration correctly fetches and sends this data during the call setup.aqsafulara
11/12/2025, 2:36 PM