Handle a Voice Contact

1. Purchase a new Twilio Phone Number

In order to provision more than one phone number, you must upgrade your Twilio Flex account. After upgrading, navigate to Phone Numbers > Buy a Number in the Twilio Console. You can filter for specific phone numbers based on your business needs.


If you want to use your phone number for messaging your customers, make sure it is SMS-enabled. You can learn about the different number types on the Core Concepts: Numbers page.


Upon successfully purchasing the phone number, you get redirected to that number's management page.

2. Configure your Phone Number with a Studio Flow

By default, the phone number that came with your Flex instance is configured with the “Voice IVR” Studio Flow for voice calls. This is just an example, and you can handle the voice calls with any Studio Flow that eventually routes them to Flex. Routing to Flex is implemented by invoking the Send To Flex widget, which sends the call to TaskRouter to start looking for a suitable agent to handle it.


To configure a new phone number for Flex:

  1. Open the phone number details from the Manage Numbers page in the Console.
  2. Scroll down to Voice.
  3. Keep the default selection for "Configure With" to "Webhooks, TwiML Bins, Functions, Studio, or Proxy".
  4. Under "A Call Comes In”, select "Studio Flow", then "Voice IVR" (or any other Studio Flow that you have set up to send your calls to Flex).
  5. Click Save.

Test the Voice Experience

To confirm that your new phone number is properly configured, follow the steps in Answer a voice call in Flex.

Next steps

Maria Bermudez Angel Higuera Diego Villavicencio
Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!