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 Ashley Boucher
    How to Receive WhatsApp Messages in JavaScript Using Express How to Receive WhatsApp Messages in JavaScript Using Express

    The WhatsApp Business API from Twilio is a powerful, yet easy to use service that allows you to communicate with your users on the popular messaging app. In this tutorial you are going to learn how to create a JavaScript application that can receive and handle WhatsApp messages.

    Project demo

    Prerequisites

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

    • Node.js installed on your machine
    • A free Twilio account (sign up with this link and we’ll both get $10 in free credit when you upgrade your account)
    • A smartphone with an active WhatsApp account, to test the project.

    The Twilio WhatsApp sandbox

    Twilio provides a WhatsApp sandbox, where you can easily develop and test your application. Once your application is complete you can request production access for your Twilio phone number, which requires approval by WhatsApp.

    In this section you are going to connect your smartphone to the …

    Read More
  • By Julie Griffin
    New Guide! 15 Ways to Use Data to Engage Your Customers 15-Ways-to-Use-Data-to-Engage_Your_Customers.png

    We partnered with our teammates at Segment, the leading customer data platform, to create our latest guide: 15 Ways to Engage Your Customers Using Data. While we all want more data, data is only as good as your strategy to apply it. And figuring out how to collect, organize, and put your data to action can be a daunting process.

    To help demystify any questions around data and how to use it, this guide walks through:

    • What data you should be tracking
    • How you can engage new visitors
    • How to encourage ongoing purchases
    • What you can do to re-engage customers
    • The tools you can use to put these strategies to action

    You’ll find best practice tips and examples of successful messaging and resources to help you learn more about any strategies that you are interested in pursuing.

    Ready to dig into the data? Download the guide.

    Guide 15 ways to use data to engage customers

    Data & customer …

    Read More
  • By Miguel Grinberg
    How to Send a Picture on WhatsApp from the Command Line Using Twilio and cURL How to Send a Picture on WhatsApp from the Command Line Using Twilio and cURL

    The WhatsApp Business API from Twilio is a powerful, yet easy to use service that allows you to communicate with your users on the popular messaging app.

    In this article, you’ll learn how to send an image to a user through WhatsApp using a cURL, which would make this functionality accessible from shell scripts.

    Project demonstration

    Prerequisites

    To follow this tutorial you need the following items:

    The …

    Read More
  • By Carlos Mucuho
    Make and Receive Phone Calls from the Browser with Twilio Programmable Voice, Python and JavaScript Make and Receive Phone Calls from the Browser with Twilio Programmable Voice, Python and JavaScript

    In this tutorial, we are going to write an application that uses the Twilio Programmable Voice API to make and receive phone calls from a web browser. We will also implement a UI that allows us to make, accept, and reject phone calls.

    By the end of this tutorial we will have an application that looks like the following:

    Project demo

    Tutorial requirements

    To follow this tutorial you are going to need the following components:

    • A free or paid Twilio account. If you are new to Twilio create a free account now. If you create your account using this link and later upgrade to a paid account, you will receive $10 in credit.
    • A Twilio phone number capable of making and receiving phone calls. Get one now if you don’t have it.
    • Python 3.6+ installed.
    • ngrok installed. ngrok is a reverse proxy service that creates a secure tunnel from a public endpoint …
    Read More
  • By Diane Phan
    How to Receive WhatsApp Messages in Python Using Flask and Twilio header - How to Receive WhatsApp Messages in Python Using Flask and Twilio

    The WhatsApp Business API from Twilio is a powerful, yet easy to use service that allows you to communicate with your users on the popular messaging app. In this tutorial you are going to learn how to create a Python application based on the Flask web framework that can receive and handle WhatsApp messages.

    Project demo

    Prerequisites

    To follow this tutorial you need the following items:

    The Twilio WhatsApp sandbox

    Twilio provides a WhatsApp sandbox, where …

    Read More
  • 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 Yashvier Kosaraju
    Changing Security Tool Requirements in the New DevSecOps World How Security Tools Are Changing

    Security has "shifted left," moving from the final stages of the software development life cycle (SDLC) to a tightly integrated process that's baked in from the beginning. In the old days, security took a backseat to other application development tasks. Scanning tools such as SAST (static analysis security testing) and DAST (dynamic analysis security testing) took a long time and typically ran separately from the continuous integration and continuous delivery (CI/CD) pipelines. Security threats were discovered late in the process, and the main way of fixing them was to apply patches. Automation, integrations, APIs, and other modern security tool capabilities weren't part of the equation.

    Then DevSecOps emerged.

    DevSecOps integrates security into all stages of the SDLC, making security everyone's responsibility along the entire pipeline. Automation is crucial so that security can keep up with the pace of code development, especially in organizations where developers push multiple times per day. …

    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!

    Prerequisites

    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
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.