Forwarding to an extension
# support
s
We have successfully forwarded calls to a number, but we would like to forward calls directly to an extension. Is there a way to do this through the UI or another simple method?
c
Hey Smotthie, you have to create an destination and append extension to it after that when you do the call transfers it will dial out the extension along with it.
Copy code
curl -X POST https://api.vapi.ai/tool \

     -H "Authorization: Bearer " \

     -H "Content-Type: application/json" \

     -d '{

  "type": "transferCall",

  "function": {

    "name": ""

  },

  "destinations": [

    {

      "type": "number",

      "number": "insert-number-here",

      "extension": "insert-ext",

      "numberE164CheckEnabled": false

    }

  ]

}'
Let me know if you require further help!!
5 Views