Vapi Support Bot
09/29/2025, 7:06 PMjson
{ "type": "end-call" }
This will immediately terminate the call. For more details, see the [Vapi WebSocket transport documentation](https://docs.vapi.ai/calls/websocket-transport).
Source:
- [WebSocket Transport](https://docs.vapi.ai/calls/websocket-transport)Vercel
09/30/2025, 6:08 AMFrancisco
09/30/2025, 6:27 AMVercel
09/30/2025, 6:31 AMFrancisco
09/30/2025, 6:41 AMFrancisco
09/30/2025, 7:44 PMChiranjeet Mishra
10/01/2025, 6:48 PMCall.ending as a trigger. This can be managed by creating a hook at the workflow level. Here's a brief guide on how you can achieve this:
1. **Define a Hook**: Set up a hook within your workflow to listen for the Call.ending event. This allows actions to be performed right after a call concludes.
2. **Configure Actions on Hook**: Within the hook, you can specify actions such as posting data to a webhook URL. This action can be specified using do with a function action to execute the webhook call.
3. **Use Conditional Execution (if needed)**: If you only want the webhook to be triggered under certain conditions, use CallHookFilter to define those conditions.
For more detailed guidance, you can refer to the [Vapi July 11, 2025 Changelog](https://docs.vapi.ai/changelog/2025/7/11) where these features are further explained.
This setup provides a flexible way to integrate custom handling of call end events in your workflows.