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 Leonard Volarić Horvat
    Orchestrate a Twilio Webhook Deployment to AWS EC2 Using Ansible Orchestrate a Twilio Webhook Deployment to AWS EC2 Using Ansible

    Suppose you have a Flask application handling a Twilio webhook of yours. For instance, one which saves an SMS or a recording of a Twilio phone call to some cloud storage or a database.  For a production deployment of your webhook you would likely want to spin up a virtual machine instance in a cloud server provider, such as EC2 on AWS. But that can quickly become too cumbersome and error-prone to handle manually, especially when upgrading the application, or if you want to do some complex cloud storage schema.

    In this tutorial, we will demonstrate how to use Ansible, an open-source orchestration tool, to deploy a Twilio webhook on EC2 in a maintainable and extendable manner. First we will go through core Ansible concepts, then we will write a simple Flask application (our webhook) and explain how to serve it, then we will cover provisioning an EC2 instance …

    Read More
  • By Liz Moy
    Build and Deploy Episode 1: Weird and Wonderful Bots with Nicole He Nicole He SMS Bot Twilio Build and Deploy with Liz Moy

    Build and Deploy with Liz Moy is a curiosity-driven podcast that explores the lives of people who create things with code. Some might describe themselves as creatives, programmers, musicians, artists, or even fashion designers. But the truth is that no matter what their title, they’re all developers.

    Our first episode is with Nicole He, a creative technologist and game developer who made sms-bot.info, a resource that empowers anyone to build a SMS bot using Twilio and Google Sheets. We talked about the first game she ever built, the motivation behind building the tutorial, and possibilities of new features, like extending it for WhatsApp.

    Subscribe and Listen on: APPLE PODCASTS | RSS | OVE …

    Read More
  • By Oluyemi Olususi
    How to Create a Group Video Chat App with Symfony, PHP, Twilio, and React.js How to Create a Group Video Chat App with Symfony, PHP, Twilio, and React

    If the news and current statistics about remote work are any indicator of the future, it’s obvious that working from home is gradually becoming the new normal for employees all over the world, including numerous tech companies. While effective communication may be defined differently for various companies, one of the most promising ways to improve productivity and keep your team together involves using video conferencing or chat.

    This tutorial will guide you on how to create a video conferencing chat application using Symfony, React.js, and Twilio Programmable Video. The video chat application will allow users to connect and participate in a predefined chat room.


    To participate in this tutorial, you will need the following:

    Read More
  • By Matthew Gilliard
    How to use custom HTTP clients with Twilio in Java Title: How to use custom HTTP clients with Twilio in Java

    [Header image adapted from this image, CC BY 2.0 from Microsoft NYC]

    When building a Java application that uses Twilio's API most developers will have code that runs at startup, initializing the Twilio helper library like this:


    This sets the account credentials as static fields in the Twilio class. Effectively they are now global settings for the application, and when your code calls the API these will be used automatically, and the helper library creates an HTTP client for you. This means that you don't have to repeat your credentials every time you call a method that uses the Twilio API:

    Message.creat …
    Read More
  • By Jeff Lawson
    Why Twilio is Acquiring Segment, the Market-leading Customer Data Platform blog_hero.png

    Understanding customers is critical to a successful customer engagement strategy, but information about customers -- what they bought, when they needed help, how they use apps, and more -- is often spread across dozens of software systems inside of a company. These data silos frustrate developers and companies as they try to build a single view of their customer so they can engage in a meaningful, relevant way. 

    These data silos are the enemy. They destroy customer relationships by causing awful customer service and irrelevant and annoying marketing experiences. I faced this challenge at each of the four companies I founded and as a software developer – I was constantly battling how we could better wrangle data in a way that would allow us to better serve our customers. 

    Segment is the answer to this problem. Together, Segment and Twilio will tear down these data silos, helping companies and their …

    Read More
  • By Dustin Ewers
    C# 8 – Making Use of Using Declarations csharp-8-using-statements.png

    With C# 9 just around the corner, it’s a good time to look back at some of the goodness in C# 8. This post will take a look at a little syntactic sugar known as using declarations.

    Since time immemorial, C# programmers have been using the using statement to implement disposable classes safely. File I/O, databases, and web services all benefit from the using statement.

    The only downside is that adding a using statement to your code introduces a new scope block and indentation level. C# 8 using declarations eliminate that requirement.

    Review: the using keyword

    In C#, the using keyword has two purposes: The first is the using directive, which is used to import namespaces at the top of a code file. The second is the using statement. C# 8 using statements ensure that classes that implement the IDisposable interface call their dispose method. It guarantees …

    Read More
  • By Ana Paula Gomes
    Implement a Support Helpline with Queuing using Python and Twilio Implement a Support Helpline with Queuing using Python and Twilio

    It’s never been so easy to set up your own call center and be in touch with your customers. With Twilio you can manage queues, assign agents and even get metrics about how the queues are working. All of it with little amount of code. In this tutorial we will show you how to accept incoming calls, place them into a queue, and then connect live agents to these callers, using Twilio Voice API, and the Flask framework for Python.

    Tutorial requirements

    To follow this tutorial you need the following components:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • ngrok. We will use this handy utility to connect the Flask application running on your system to a public URL that Twilio can connect to. This is necessary for the development version of the …
    Read More
  • By Ashley Boucher
    How I Built a Real-Time SMS Translation App (without Setting Up a Backend Server) sms-translation.png

    Having an interest in communicating with a distant cousin in Germany, whose native language I don’t share, I decided to build a real-time SMS translation app so that we could text each other.

    Thanks to Twilio Functions, Twilio Programmable SMS, and the Google Cloud Translate API, this app was easy to build, and it’s super fun to use!

    Here’s the gist: I send a text to my Twilio phone number. A webhook captures this message and makes a POST request with the message details to my Twilio Function. Inside the function, the message body is translated, and the translation is forwarded to my recipient’s phone number. When they reply, this same process happens in reverse.


    I needed the following things before getting started:

    Using the Serverless Toolkit

    For this project, I relied …

    Read More
  • By Jeff Rosenthal
    Monitoring Web Server Performance with Windows Presentation Foundation and ScottPlot wpf-scottplot (1).png

    Windows Presentation Foundation (WPF) framework provides a rich graphical user interface for desktop applications. Charts are a familiar component in many applications, providing users with a visual way to consume data, observe trends and patterns, and provide a more attractive and engaging application.

    Many libraries provide various charting capabilities. In selecting a library to use, you should consider many factors. Foremost is compliance and compatibility with the framework used to implement the project.

    If you’re building a new .NET project these days, it’s likely you’ll be using .NET Core, so the charting library you select has to be compatible. Since .NET Core is relatively new, compared to the .NET Framework, there are fewer libraries available. 

    Some charting packages are big, feature-rich, time-consuming to learn to use, and expensive. In many large applications, these tools provide continuity between components while also providing a high degree of styling, which is very desirable. …

    Read More
  • By Harshil Agrawal
    Sending SMS the Low-Code Way with Airtable, Twilio Programmable SMS, and n8n n8n-airtable-twilio-sms.png

    Keeping your customers updated is one of the key ingredients of a successful business. This can be done in various ways; one of the most popular is through SMS messages.

    It’s often thought that there is no easy way to quickly send SMS messages to thousands of your users without writing code if their information is stored in a database like MongoDB, Postgres, or even Airtable.

    But what if there is a solution that makes the process very easy? Even if you’re not a developer you can quickly get started with this solution with just a few clicks!

    Low code, no-code platforms are changing the way we are building software. They are making it easy to quickly build apps faster. With n8n you can build any automated workflow for your use case.  

    n8n is a fair-code licensed tool that helps you automate tasks, sync data between various sources, and react …

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