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 Gareth Paul Jones
    Introducing Twilio’s OpenAPI Specification Beta Introducing Twilio's OpenAPI Specification Beta

    Whether you are building your first product with Twilio or looking to expand your product offering, you need easy access to tools in the programming languages or environments you use. Today, we are excited to announce that we have open-sourced an OpenAPI specification in Beta for every Twilio API.

    For a long time we’ve supported and maintained helper libraries and tooling in a handful of the most popular languages and environments used by developers. We’re now expanding that coverage by providing Twilio API documentation files in accordance with the OpenAPI Specification, an industry-standard format for APIs. This makes it simple for you to auto-generate code so you can easily build with Twilio no matter the language or tools you use.

    What you can do with OpenAPI?

    Client Library Generation

    Using the power of the Twilio OpenAPI specification and open-sourced OpenAPI generator, you can now generate new client libraries. …

    Read More
  • By Paul Kamp
    Personalize SMS Marketing Communications with Twilio and Segment personalize SMS Twilio Segment

    Personalized communications are powerful. The right message, at the right time, on the right channel is the difference between a customer for life – and a lifelong detractor. Whether you're in real estate, medicine, finance, retail, or really any industry, timely and useful communications are essential to keep your customers happy.

    This post will show you how to personalize an SMS to a customer on an e-commerce page using Segment and Twilio Programmable SMS.

    Let's build something timely!


    Before we get started, you'll need to sign up for a few accounts.

    And with that, let's get started!

    Set up a source in Segment

    With Segment, you create a source for every site or app (or device!) you'd like to track …

    Read More
  • By Matthew Gilliard
    How to send SMS at scale with Twilio Title: How to send SMS at scale with Twilio

    If you want to send a single SMS using Twilio you'll need a Twilio account, a phone number to send them from, and of course you'll need to know the destination phone number and the content of the message. Once you have these you can send your message with a single API call either with a direct HTTP request, or using any of our helper libraries. Check out our Programmable SMS Quickstarts for more details.

    What if you need to send a hundred messages? Or a thousand? Or even more? In this post I'll talk through the challenges you may face as you scale up and how to get past them. Code samples will be in Java but the same principles apply with any programming language.

    Sending a single SMS

    Sending one SMS with Java is covered in this blog post. Feel free to go and read it, …

    Read More
  • By Twilio
    Engineering Improvements to Prevent Service Disruptions Engineering improvements to prevent service disruptions

    Twilio suffered a service disruption on Feb 26, 2021. 

    When we fall short, as we did with the service disruption on Feb 26th 2021, it motivates us to learn and to make our services more resilient and reliable. Nothing is more important than regaining your trust. We want the opportunity to show that Twilio can and will be a reliable and consistent partner. 

    We also want to revive our commitment to you that when an incident occurs that disrupts your customer communications, we will always tell you about it. “No shenanigans” is our ethos. Striving to act in an honest, direct, and transparent way is a value every Twilion lives by - and in that spirit, we want to share the improvements we’re making for both the short and long term. 

    Recap of the Feb 26, 2021 service disruption: 

    On Friday, February 26, 2021, one of Twilio's internal services suffered …

    Read More
  • By Robert Alford
    Build a Contact Form for a Python Django Application with Twilio SendGrid Build a Contact Form for a Python Django Application with Twilio SendGrid

    A contact form is a common feature of many websites that provides a way for users to get in touch with the site’s administrators without having to open their email or hop on the phone. In a Python Django application, a contact form can be used to store a user’s contact information in the site’s database. And with Twilio SendGrid, we can also trigger an automated email containing that information as soon as the form is successfully submitted.

    In this tutorial, we will build a simple contact form for a Django web application that does just that.

    Project screenshot

    Tutorial requirements

    • Python version 3.6 or higher. If you do not have Python installed on your computer, you can download a free installer here.
    • A free Twilio SendGrid account. Sign up here to send up to 100 emails per day completely free of charge.
    • The Django web framework. Django is a fully …
    Read More
  • By Ashley Boucher
    Transcribe a Voice Message in Node.js with Twilio Functions voicetranscribe.png

    In this tutorial you’ll leverage Twilio Programmable Voice to receive phone calls at your Twilio phone number, and transcribe any voice messages left by the caller. This guide can be used as a foundation to build your own voicemail system.


    To get started with this tutorial, you’ll need the following:

    Create a new Twilio Functions Service

    Through Twilio, you can configure a webhook that will handle any incoming calls to your Twilio phone number.

    You’ll need a place to host the code for the webhook - this could be your own server, or locally running application, but for this tutorial you’ll use Twilio Functions. Twilio Functions is a serverless environment that lets you deploy backend services without the overhead of setting …

    Read More
  • By Annie Benitez Pelaez
    Twilio Elastic SIP Trunking Increases Momentum highway.jpg

    The Twilio Elastic SIP Trunking product line has been firing on all cylinders over the past year, realizing impressive gains across all key business metrics. The results validate our strategy, which is to build a disruptive SIP trunking service in the cloud that provides customers increased business agility, PSTN connectivity that is accessible all over the world, and significantly lower costs.

    Our expanding momentum has been recognized by respected third parties, including TMC, Eastern Management Group and Omdia. Most gratifying is the growing list of customers who have entrusted Twilio with their PSTN connectivity.

    Rapidly growing customer base

    Customers have taken notice of the many advantages offered by Twilio Elastic SIP Trunking. For the third consecutive year, we’ve notched double digit growth in our customer base. We’re winning accounts for demanding PSTN connectivity services in countries all over the globe, including contact center, unified communications, and numerous embedded voice telephony …

    Read More
  • By August Allard
    Introducing Python Developer for Technical Content, August Allard augustallard.png

    Ask just about any programmer why they like to write code, and I’ll bet you a giant slice of chocolate cake that every single person will give at least one of these answers:

    • “I love making things!”
    • “I love learning how things work!”
    • “I love solving problems!”

    Of course, this isn’t an exhaustive list of the reasons why people like to write code, but the exclamations in this list have reliably and recurrently come up when I get into conversations with fellow developers. Often, these developers will tell me that not only do they love making things, love learning how things work, or love solving problems, they have actually always enjoyed these things, even in their childhood.

    This unique collection of interests — building, learning, solving — is the longstanding core of my identity.

    How it started

    In elementary school, Mrs. Elliott was my daycare provider and watched over me …

    Read More
  • By Lizzie Siegle
    Build a SMS Haiku Generator with Twilio Serverless and Datamuse haikuheader2.png

    Get ready for National Haiku Poetry Day on April 17th and celebrate National Poetry Month all April! A haiku is a three-line poem where the first and third lines contain five syllables while the second line contains seven. This tutorial will go over how to build a haiku generator via SMS using the Twilio Serverless Toolkit and the Datamuse API. Text a word like "code" to +14243392702 to receive a haiku relating to that word, as seen below.

    code sms example


    1. A Twilio account - sign up for a free one here and receive an extra $10 if you upgrade through this link
    2. A Twilio phone number with SMS capabilities - configure one here
    3. Node.js installed - download it here

    Make and Test the Function Locally

    Let’s write a function that generates a haiku according to SMS input. The Serverless Toolkit developed by my teammate Dominik helps us debug our Twilio …

    Read More
  • By Liz Moy
    Build and Deploy: How COVID-19 Accelerated Telemedicine Build and Deploy Season 2 Episode 1

    Build and Deploy with Liz Moy is a curiosity-driven technology podcast. This season, we’ll be talking to developers and technologists in healthcare about what they’re building to make the world a healthier place. Experts in the field of robotics, artificial intelligence, and telemedicine  will help me understand why it took so long to get here, and we’ll dive into what the future of telemedicine might look like.

    Our first episode is a conversation with Jeff Lawson, CEO and Co-Founder of Twilio and Dr. Erica Lawson, pediatric rheumatologist at UCSF. Twilio Head of Global Healthcare Services, Susan Lucas Collins provides an expert point of view around the shifts that have happened. And Dr. Tim Peck of Curve Health and IDEO shares why there has never been a better time to be a founder working in healthcare technology.

    Subscribe and Listen on: APPLE PODCASTS | SPOTIFY | RSS | STITCHER …

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