Alexander
10/06/2025, 9:30 AMVapi Support Bot
10/06/2025, 9:31 AMcallId or chatId in their event payloads on the UI side.
You can try inspecting the event.detail object in the "message" event for any available IDs, but if they're not present, this is a platform limitation.
js
widget.addEventListener('message', function(event) {
console.log('Message event detail:', event.detail); // Check for callId/chatId here
});
If the IDs are missing, consider reaching out to Vapi support to request this feature or implement a server-side mapping workaround.
Sources:
- [Web widget documentation](https://docs.vapi.ai/chat/web-widget)
- [MCP integration documentation](https://docs.vapi.ai/tools/mcp)Vercel
10/06/2025, 1:03 PM