nersisyan
10/07/2025, 7:25 PMVapi Support Bot
10/07/2025, 7:26 PMHello, welcome to {{businessName}}!). When a call comes in, have your server map the incoming phone number to the correct business name and set the variable in the API request:
json
{
"assistantId": "your-assistant-id",
"assistantOverrides": {
"variableValues": {
"businessName": "Acme Corp"
}
},
"customer": { "number": "+1xxxxxxxxxx" },
"phoneNumberId": "your-phone-id"
}
This way, the assistant will greet callers with the correct business name based on the number they dialed.
Reference: See dynamic variables usage in the [documentation](https://docs.vapi.ai/assistants/dynamic-variables).
Source:
- [Variables Personalize assistant messages with dynamic and default variables](https://docs.vapi.ai/assistants/dynamic-variables)nersisyan
10/07/2025, 8:25 PMChiranjeet Mishra
10/09/2025, 6:18 PMassistant-request hook to your serverUrl where your server will be able to assign the assistantId along with assistantOverride.variableValues based on logic you create to differentiate your business names from the phone number they called.nersisyan
10/09/2025, 8:10 PMassistant-request in body.message.type.
The second point I believe should find place in doc is - DO NOT SELECT ANY assistant/workflow/squad in the phone number config to receive the assistant-request hooknersisyan
10/09/2025, 8:13 PMChiranjeet Mishra
10/13/2025, 6:26 PM