SidewaysCat
05/23/2025, 6:27 PMVapi Support Bot
05/23/2025, 6:29 PMdestination
field, not the nested tool call arguments. For example, in your JSON:
json
"destination": {
"type": "number",
"number": "+441925559"
}
This field gives you the actual transfer destination, regardless of how many tool calls or messages are present.
Sources:
- [Vapi API Reference: Get Call](https://docs.vapi.ai/api-reference/calls/get-call)
- [Vapi Dynamic Call Transfers Documentation](https://docs.vapi.ai/calls/call-dynamic-transfers)Vapi Support Bot
05/23/2025, 6:30 PMSidewaysCat
05/23/2025, 8:15 PMSidewaysCat
05/23/2025, 8:21 PMKings_big💫
05/24/2025, 6:14 AMVapi Support Bot
05/24/2025, 6:16 AMserverMessages
include both "transfer-destination-request"
and "end-of-call-report"
. Here’s how you can configure it:
json
"serverMessages": [
"transfer-destination-request",
"end-of-call-report"
]
This ensures your server receives the necessary events to track dynamic transfers and extract the number from the end-of-call report payload.
Reference: [Dynamic Call Transfers documentation](https://docs.vapi.ai/calls/call-dynamic-transfers)
Sources:
- [Dynamic Call Transfers documentation](https://docs.vapi.ai/calls/call-dynamic-transfers)
- [Server Events documentation](https://docs.vapi.ai/server-url/events)SidewaysCat
06/01/2025, 1:07 PMVapi
06/02/2025, 11:01 AM