Xainab Mehr
11/18/2025, 1:12 PMVapi Support Bot
11/18/2025, 1:13 PMjson
{
"tools": [
{
"type": "handoff",
"destinations": [
{
"type": "assistant",
"assistantName": "TicketingBot",
"description": "Handles ticket creation requests"
}
]
}
]
}
This setup lets your chat assistant transfer conversations to a specialized bot (e.g., for ticket creation) seamlessly.
For more details, see the [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff).
Source:
- [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff)Xainab Mehr
11/18/2025, 3:36 PMVapi Support Bot
11/18/2025, 3:37 PMjson
{
"tools": [
{
"type": "handoff",
"destinations": [
{ "type": "assistant", "assistantName": "TicketingBot", "description": "Handles ticket creation" }
]
}
]
}
This lets you verify seamless handoffs between bots in your test environment.
For more, see the [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff).
Source:
- [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff)Xainab Mehr
11/18/2025, 4:28 PMXainab Mehr
11/19/2025, 1:13 PMVapi Support Bot
11/19/2025, 1:14 PMXainab Mehr
11/19/2025, 1:19 PMXainab Mehr
11/19/2025, 4:16 PMhijaz
11/19/2025, 11:42 PMXainab Mehr
11/20/2025, 11:03 AMChiranjeet Mishra
12/04/2025, 6:34 AMserverMessages.
Right now your webhooks aren’t triggering because the default serverMessages do not include chat-specific events like chat.created or transfer-update.
What you need to do:
Add the chat and handoff event types to each assistant’s serverMessages, for example:
json
{
"serverUrl": "https://your-webhook-url.com",
"serverMessages": [
"conversation-update",
"function-call",
"tool-calls",
"chat.created",
"transfer-update"
]
}
Events you can receive for Chat API:
- chat.created
- chat.deleted
- transfer-update (handoffs)
- tool-calls / tool.completed
Debugging squad handoffs
To debug handoffs via webhooks, add transfer-update to both assistants in the squad. Webhook payloads will show the from/to assistants for each transfer.
---
If you update serverMessages on both assistants, your webhooks will start firing for Chat API conversations.