transfer a call to a dynamic number
# support
j
I use an endpoint to submit the call info, and based on this i want to transfer the call to the number returned in the API response. it doesnt allow me to put {{number}} in the field
v
To transfer a call to a dynamic number, set up your transfer tool with an empty
destinations
array and handle the transfer via a webhook. When Vapi triggers the transfer, your server should respond with the destination number like this:
Copy code
json
{
  "destination": {
    "type": "number",
    "number": "+1234567890"
  }
}
This lets you set the transfer number dynamically in your API response, rather than using
{{number}}
in the dashboard. [See Vapi docs for details](https://docs.vapi.ai/calls/call-dynamic-transfers#respond-to-transfer-requests). Source: - [Dynamic call transfers Vapi Documentation](https://docs.vapi.ai/calls/call-dynamic-transfers#respond-to-transfer-requests)
j
@User Support Bot i created the tool and added it to my assistant. but i cant see where to set the server call
c
Hey! To help track down this issue, could you share: \- The call ID \- When exactly this happened (the timestamp) \- What response you expected to get \- What response you actually got instead This would really help us figure out what went wrong!
3 Views