Martin9sek
01/22/2026, 3:00 PM${apiUrl}/list/{{context.call.to}},
credentialId: 'XXXXX',
headers: {
type: 'object',
properties: {
'Content-Type': {
type: 'string',
value: 'application/json'
}
}
},Vapi Support Bot
01/22/2026, 3:02 PM{{customer.number}} are available, but not {{context.call.to}} or {{phoneNumber}}.
Could you clarify if you are initiating the call as an inbound call to a Vapi-managed phone number, and if so, do you have access to the phone number's ID or configuration in your call setup? This will help determine if there's a way to inject the assistant's number as a custom variable or retrieve it from the call context.
Source:
- [Vapi Dynamic Variables Documentation](https://docs.vapi.ai/assistants/dynamic-variables)Martin9sek
01/22/2026, 3:24 PMAzu
01/23/2026, 2:16 AMMartin9sek
01/25/2026, 6:27 AMVapi Support Bot
01/25/2026, 6:28 AMassistantNumber) when initiating the call, and then reference it as {{assistantNumber}} in your tool URL:
js
// When starting the call, add:
assistantOverrides: { variableValues: { assistantNumber: '+1234567890' } }
// Then use {{assistantNumber}} in your tool definition
For now, there is no default variable like {{context.call.to}} or {{phoneNumber}} that provides this automatically during the call.
See the [Vapi Dynamic Variables documentation](https://docs.vapi.ai/assistants/dynamic-variables) for more details.
Source:
- [Vapi Dynamic Variables documentation](https://docs.vapi.ai/assistants/dynamic-variables)Chiranjeet Mishra
01/28/2026, 2:29 PMassistantOverrides to pass the phone number during the initiation of the call.Martin9sek
05/06/2026, 6:06 AMChiranjeet Mishra
05/07/2026, 2:08 PMvariableValues: {
phoneNumber: {
number: "1234"
}
}
You can find more information from here: https://docs.vapi.ai/assistants/dynamic-variables
Note that you can populate this in a webcall, but you cannot add dynamic variables while testing calls inside vapi dashboard.