James
10/16/2025, 7:15 PMVapi Support Bot
10/16/2025, 7:17 PMexternalId is accessible as a variable during your call, explicitly set it in the assistantOverrides.variableValues for each customer. For batch calls, you should call the endpoint separately for each customer if you need unique variables. Example:
json
{
"assistantId": "your-assistant-id",
"phoneNumberId": "your-phone-number-id",
"customer": {
"number": "+4412345678"
},
"assistantOverrides": {
"variableValues": {
"externalId": "2613"
}
}
}
Reference {{externalId}} in your tool's API request body to ensure it is replaced properly.
According to the documentation, arbitrary fields like externalId are not automatically mapped—set them explicitly in variableValues for each call to avoid placeholder issues.
Source:
- [Personalization with user information](https://docs.vapi.ai/assistants/personalization)James
10/16/2025, 7:24 PMJames
10/16/2025, 7:24 PMChiranjeet Mishra
10/18/2025, 1:51 AMcallId in VAPI, you can access it through webhooks or API responses where call information is provided. If you are working with test suite runs, the recent update allows you to include callId in a [TestSuiteRunTestAttempt](https://docs.vapi.ai/changelog/2025/3/30). For direct access in workflows or UI, ensure your webhook endpoint/parsing logic captures the necessary data, as IDs are often part of the payload for events like call.deleted or call.delete.failed.
If you're using a specific tool or integration (e.g., MCP tool), make sure to follow the related documentation for handling these identifiers. You may also want to consider looking at session properties or metadata if you're tracking call details comprehensively.
Let me know if you need more detailed instructions for a specific context.