RamonJ
06/05/2025, 12:42 PMVapi Support Bot
06/05/2025, 12:44 PMvapi instance is accessible and call vapi.stop() in your event handler. For example:
js
const handleStopCall = () => {
vapi.stop();
};
Attach this to your "Stop Call" button. If the call doesn't end, double-check that the vapi instance is not being re-created on every render and is properly initialized at the component level.
Reference: [Vapi Web SDK Docs – .stop()](https://docs.vapi.ai/sdk/web#stop)
Source:
- [Vapi Web SDK Docs – .stop()](https://docs.vapi.ai/sdk/web#stop)Kings_big💫
06/05/2025, 1:44 PMKings_big💫
06/07/2025, 7:22 AMVapi Support Bot
06/11/2025, 8:26 AM