Vapi Support Bot
09/15/2025, 2:26 PMserver.url to your webhook endpoint. In your server, handle the end-of-call-report event like this:
js
app.post('/vapi-webhook', async (req, res) => {
if (req.body.message?.type === 'end-of-call-report') {
// Call your ticketing system API here, e.g.:
// await createTicket(req.body.message);
}
res.sendStatus(200);
});
This ensures a ticket is created automatically when a call ends. Adjust the createTicket function to match your ticketing system's API requirements.
Source:
- [Server Events End of Call Report](https://docs.vapi.ai/server-url/events)Sven Weidenmann
09/15/2025, 2:38 PMTay
09/15/2025, 10:45 PMSven Weidenmann
09/16/2025, 6:02 AMChiranjeet Mishra
09/17/2025, 2:34 PM