Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Chas Bowman
    Deploy a Remote Agent Contact Center in 30 Minutes With Twilio Flex Flex Remote Agent Contact Center


    You might be in a position where you urgently need a new contact center that enables your employees to work remotely. This article will guide you through deploying Twilio Flex – a cloud-based contact center with native WebRTC support – in just 30 minutes.

    Twilio Flex can be instantly provisioned and provides you the immediate ability to start testing voice calls, SMS, and web-chat. In this blog post, we'll show you how to quickly create a solution that enables contact center agents to work from their homes.

    Before We Get Started...

    Deploy a Remote Agent Contact Center

    Now that you are logged into your Twilio account, you’re ready to start setting up a new Flex Instance.

    In these next steps, I’ll guide you through creating …

    Read More
  • By Tilde Thurium
    How to build a conference line with Twilio Studio How to build a conference call line with Twilio Studio

    Twilio Studio is a visual application builder that allows you to write conditional logic for handling messaging flows without writing any code. In this post I’ll walk you through how to build a conference call line using Twilio Studio.


    Creating your Studio Flow for conference calling

    Head over to the Studio Dashboard. Click the “+” button to create a new Flow.

    You’ll be prompted to give it a name. Let’s call it “conference call.”

    Screenshot of the dialog box for creating a new Studio Flow. There's a "Flow Name" input field, that has the text "conference call" in it, as well as Cancel and Next buttons.

    On the next screen select “start from scratch” and …

    Read More
  • By Sam Agnew
    COVID-19 tracking via SMS with Twilio and Python Copy of Language template - PYTHON2.png

    Around the world, the Coronavirus Pandemic is affecting people and their communities. It might impact different areas in varying ways, but the virus causing the COVID-19 disease has reached a level of global pervasiveness. The situation is constantly evolving so it can be hard to keep track of.

    If you are in the United States, there is a COVID Tracking Project which provides up-to-date statistics for the nation as a whole and for each individual State on the number of tests administered, positive cases, and the death toll. The project also provides this data in the form of an API.
    You can text the phone number +1 (864) 77-STATS which is +1 (864) 777-8287 with a particular US State abbreviation to get the current statistics for that State, or any other message to get the nation-wide data.

    Let's walk through how to build a text-message-based COVID-19 tracker in Python …

    Read More
  • By Alina Libova Cohen
    Baby Proofing with Raspberry Pi, Machine Learning and Twilio Programmable SMS Baby proofing with Raspberry Pi, Machine Learning and Twillio Programmable SMS

    cat detection demo

    Anyone with a baby and a cat knows maintaining the peace requires constant vigilance.  Thankfully, complete vigilance can now be bought for the low price of a Raspberry Pi, a webcam and the time it takes to read the rest of this article.  Here’s how I turned my Raspberry Pi into a 24/7 rent-a-cop.  

    Bottom line

    Using machine learning and Twilio, your Raspberry Pi can continuously monitor any area of your home using an off-the-shelf USB webcam.  This guide will walk you through how to set up your Raspberry Pi with YOLO, a real time object detection library, Darknet, an open-source neural network framework, OpenCV, a library for image processing, NNPack, a package for accelerating neural network computation, and Twilio Programmable SMS for sending notifications.


    This project came out of a personal need. We’re the proud owners of:

    • A Cat-obsessed baby
    • A Baby-obsessed cat

    This …

    Read More
  • By Matthew Gilliard
    How to build a Conference line with Twilio and Java How to build a Conference line with Twilio and Java

    Another conference call, another app, another PIN, another log-in. Joining conference calls should be as easy as dialing a phone number, without the hassle of so many extra digits. This post will show how you can build a conference line that anyone and everyone can join, using Twilio with Java and Spring Boot.

    Java Development Environment Setup

    Start by making sure you have the right software installed that you'll need to use for the rest of this post. You will need:

    • Java - You’ll need at least Java 8. My preferred way to install it is using SDKMAN!
    • A free Twilio account and a Twilio phone number

    Starting out with Spring Boot

    You can use SDKMAN! to install the Spring Boot cli tool with sdk install springboot. Use this to create a new project in an empty directory with:

    spring init \
      --dependencies web \
      --build maven \
      --groupId …
    Read More
  • By Miguel Grinberg
    How to Run a Flask Application How to Run a Flask Application

    For many years the famous “Hello, World” example Flask application was 7 lines long. Below you can see a snapshot of the Flask website as it looked on June 12th, 2017:

    old flask website

    This example application then was shortened to just 5 lines. Here is the same page on June 17th, 2017:

    new flask website

    As you can see, the core of the application has not changed, but the method by which the application server is started has indeed changed, and in a very significant way. While previously a simple app.run() call inside the application script was used, now there is a flask run command, plus a FLASK_APP environment variable.

    While the design of the Flask website has changed considerably in the years that followed, as I’m wri …

    Read More
  • By AJ Saulsberry
    Verifying Phone Number Messaging Capabilities with ASP.NET Core and Twilio Lookup verifying-phone-number-capabilities.png

    The ability to send and receive SMS and MMS messages programmatically is great, but how do you ensure you’re sending messages to a phone that’s capable of receiving them? If a customer provides you with a phone number when they sign up for an account, is it possible to verify the phone number’s capabilities while you’re verifying they own the phone number?

    With Twilio Lookup it is, and it’s easy to integrate this capability into your ASP.NET Core projects. One of the best ways you can use this resource is to use it to determine whether your application should be sending SMS messages or voice messages using the text-to-speech capabilities of the TwiML <Say> verb and Answering Machine Detection. With these tools you can communicate with customers asynchronously using their phone’s capabilities regardless of whether it’s a mobile or landline phone.

    In this post you’ll learn how to use …

    Read More
  • By Sam Agnew
    How to build a Conference line with Twilio Functions Copy of Language template - node2 (2).png

    Another conference call, another app, another PIN, another log-in. Joining conference calls shouldn’t take more than simply dialing a phone number. Lets walk through how you can quickly build a conference line anyone and everyone can use with Twilio Functions.

    Setting up a Twilio Function

    You’ll need to create a Twilio account if you don’t already have one. From the Twilio Functions page in your Twilio Console, create a new Function and select the “Blank” template as seen in this image:

    Create a Twilio Function

    Give your function a name and a path.

    Give your function a route

    Writing code to handle incoming calls

    Now replace the default code in the function with the following code for our app, and click save:

    exports.handler = funct …
    Read More
  • By Tilde Thurium
    7 cool APIs you didn't know you needed 7 cool APIs you didn't know you needed

    Human beings learn better through play.

    No matter what your experience level, this post will show you 7 fun and silly APIs you can play with and build on top of.

    If you’ve never written a line of code, don’t fret -- we’ll show you how to get started. Experienced programmers, feel free to skip down to the 7 APIs section.

    What is an API?

    An API stands for Application Programming Interface, which is a way for a program to communicate with another program. These programs can be running on the same computer, or not -- it really doesn’t matter. There are different types of APIs -- it’s a really broad term. Today we’ll focus on REST APIs.

    REST APIs follow a pattern that specifies how the information will be transmitted from one computer to another. The computer asking for the data is called the client, and the computer …

    Read More
  • By Marcus Battle
    Create Your Own Conference Line in PHP using Twilio Programmable Voice Create Your Own Conference Line in PHP using Twilio Programmable Voice

    As much of the world is grappling with the overnight shift to work from home, the trusted conference call is a staple that is needed now more than ever. Teams that have only been separated by floors and walls are now teleworking from makeshift offices in kitchens and bedrooms.

    While many software-as-a-service solutions exist, your company or organization may desire to roll out your own custom conference call solution or add it to an existing application. If PHP is your language of choice, this quick tutorial will teach you how to build your own conference line in PHP using Twilio Programmable Voice. Your team members will actually be able to call it directly and speak with one another from anywhere in the world.

    If Node.js happens to be your preferred language, Sam Agnew just wrote an awesome version of this tutorial on the Twilio blog.


    This tutorial …

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.