Rate this page:

Flex Developer Documentation

Twilio Flex is a programmable contact center platform that gives developers complete control over customer engagement with the speed and flexibility of the cloud. With Flex, you have the freedom to offer the exact contact center experience you want to your customers and agents. This documentation provides reference materials and learning resources to equip people who primarily use code to customize a Flex instance. The Administrator Guide and End User Guides provide additional resources for learning how to configure and use Flex.

To start writing code, check out a quickstart or dive into TwilioQuest, where you'll explore the Academy of Contact Center Arts and learn the basics of Flex, including updating the default UI, adding SMS, voice, and chat channels, and creating a custom plug-in for your Flex instance.

Working with Flex

Out of the box, Twilio Flex provides a range of user interfaces for your agents and your customers, a visual flow builder, and pre-built routing logic that can be customized — from the look and feel to the flow and function. With Flex, you can...

Add Channels

Reduce costs and stay connected to customers by offering a wide variety of channels, including Voice, SMS, WhatsApp, Facebook Messenger and WebChat. Twilio Flex users report saving 34% on contact center operational expenses.

Create engagement workflows and intelligent routing

Automation is native to the Twilio platform. You can build conversational self-service interactions with a bot that works across multiple channels. This lowers costs through deflection. When needed, interactions are passed to a live agent with complete context allowing for shorter handle times. Routing can be completely customized to suit the skills of your agents and types of inquiries your contact center handles.

Gain operational insight

Actively manage performance of your contact center to improved KPIs with Flex Insights. You can provide stakeholders with pre-built dashboards that drill down to voice interactions from any report, set up email-based alerting with configurable thresholds, and schedule report delivery via email.

Integrate Flex with your Identity Provider of choice

Twilio Flex integrates with your existing Identity Provider to authenticate users (agents, supervisors or administrators) and enable Single Sign-On. Learn more here.

Securely embed Flex in your application

You can embed Flex as an iframe on your web application. To do this securely, see Securely iframe Flex in your application.

Take it to the next level

Ready to go deeper with Flex?

  • Learn how to update the Flex UI programmatically
  • Explore how to build custom Flex plugins
  • Automate calls with Virtual Agents with Twilio Autopilot
  • Learn how to use Flex's many features by exploring the End User Guides
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!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more