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

SMS posts

  • By Ashley Boucher
    So verifizieren Sie einen Nutzer per SMS mit JavaScript und Twilio Verify So verifizieren Sie einen Nutzer per SMS mit JavaScript und Twilio Verify

    Viele Anwendungen überprüfen und autorisieren ihre Benutzer, indem sie einen numerischen Code, das sogenannten Einmalkennwort, entweder per Sprachanruf oder per SMS, an die Telefonnummer des Benutzers senden.

    In diesem Artikel erfahren Sie, wie Sie die SMS-Benutzer-Verifizierung mit Twilio Verify durchführen. Sie werden ein abgespecktes Frontend mit JavaScript und HTML sowie ein Node.js-Backend erstellen, alles gehostet mit Twilio Functions und gebaut mit dem Twilio Serverless Toolkit, einem Plugin für die Twilio-CLI.


    Um mit diesem Tutorial zu beginnen, benötigen Sie Folgendes:

    Einrichtung von Twilio Functions

    Führen …

    Read More
  • By Ted Gieschen
    How to Collect Times and Dates in Voice Calls or SMS using JavaScript How to Collect Times and Dates in Voice Calls or SMS using JavaScript

    Twilio offers a wide variety of channels you can use to connect with your customers, for example, through an SMS or Phone Call. One of the ways you can use these channels is to collect data from your customers. Depending on the type of data, this can be a complex undertaking. Collecting individual words or numbers is usually pretty straightforward. However, when asking customers to share specific Times and Dates, this can be far more complex. A typical use-case might be the scheduling of an appointment. This is especially true when allowing customers to communicate in free form (for example, “I would like an appointment next Tuesday at 3 pm”).

    In this blog, I will show you how you can extract Times and Dates during a phone call using JavaScript and serverless Twilio Functions without the need for any 3rd party integrations.


    To build this solution, you will …

    Read More
  • By Casey Runnells
    MMS for Long Text Messages is Generally Available MMS for Long Text Messages

    In certain instances, businesses need to send longer text messages to communicate effectively. Perhaps it’s a doctor’s office sending post-appointment care notes or a retailer sending a promotion that includes emojis. But the increased character counts in such messages can cause them to be sent across several text messages (segments) which may diminish the recipient's experience and increase costs.

    That’s why we’re excited to announce that MMS for Long Text Messages is now generally available!

    This feature allows Twilio customers to deliver those longer messages to their recipients via a single MMS message instead of it being broken up into smaller SMS segments. MMS for Long Text Messages is available at no additional cost as part of our Messaging Services features. It is available in the US and Canada and can be used with Short Code, Toll-Free, and A2P 10DLC sender types.

    This is another step in …

    Read More
  • By Ricky Holtz
    Introducing the Twilio Dev Phone dev-phone-banner

    I used to be an adjunct professor at Berkeley City College. My class was learning about 3rd party APIs, and so I set aside a classroom day to work on Twilioquest. On the day of the event, my students showed up and fired up their laptops...

    And I learned that my classroom had no cell service.

    While it was funny to watch my students run outside to a window to try and get some service and "catch" the text message, situations like this show us a clear issue: sometimes, our personal cell phones can be a blocker to our Twilio development. That's why Twilio's Developer Advocacy team is excited to announce the Twilio Dev Phone, a Twilio CLI plugin that allows you to send and receive calls and SMS straight from your local development environment.

    A screenshot of the dev phone UI

    You can learn more about the dev phone and how to use it …

    Read More
  • By Miguel Grinberg
    Serverless Twilio Webhooks on AWS with Lambda Function URLs Serverless Twilio Webhooks on AWS with Lambda Function URLs

    Serverless platforms are ideal for the deployment of webhooks such as those used by Twilio services, as they provide flexibility and scalability without the complications involved in hosting on your own infrastructure.

    In this tutorial you are going to learn how to create a Twilio SMS webhook written in Python using AWS Lambda, with its brand new function URLs feature.


    To work on this tutorial you will need the following items:

    • A Python 3 interpreter compatible with AWS Lambda (as of April 2022, Python 3.6, 3.7, 3.8 or 3.9). If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • Node.js installed on your computer. You can download a Node.js installer from the Node.js website.
    • A Twilio account. If you are new to Twilio click here to create a free account now and receive $10 credit when you upgrade …
    Read More
  • By Diane Phan
    How to Organize a Lunch Order with Java and Twilio SMS header - How to Organize a Lunch Order with Java and Twilio SMS

    Offices are opening up again! As employees are slowly going back to work in the office, local businesses are blooming with an influx of customers and new food orders. Allow Twilio to assist you in making your next lunch run with a quick and accessible way to view those elaborate orders on your phone when you're in line.

    In this article, you will learn how to make a list to add and view from your phone using Twilio SMS and Java.


    Read More
  • By Niels Swimberghe
    How to better configure C# and .NET applications for Twilio How to better configure C# and .NET apps for Twilio

    There are a hundred different ways to provide configuration to your applications. For almost any programming language, you can use environment variables and .env files, but configuration can also be stored in other file formats like JSON, YAML, TOML, XML, INI, and the list keeps on going. Though, in some scenarios configuration isn't pulled from files, but instead is pulled from a service like Azure Key Vault, HashiCorp Vault, or a similar vault service. It is rare that your configuration will come from a single source. Luckily, there are APIs in .NET that can help you grab configuration from multiple sources and merge them together.

    In this tutorial, you'll start with an application that sends text messages using Twilio Programmable SMS, where the configuration is fetched directly from the environment variables. You'll then refactor the app to

    • fetch configuration from multiple sources, specifically, JSON files, user-secrets, environment variables, and …
    Read More
  • By Akhil Chawla
    How to Send an SMS With Java and SpringBoot header - How to Send an SMS With Java and SpringBoot

    Twilio is a customer engagement platform providing programmable communication tools for making and receiving phone calls, sending and receiving text messages, and performing other communication functions using its web service APIs. Twilio conveniently empowers communication in any language.

    With the help of the Twilio SMS API, Java, and the Spring Boot framework, you can send SMS with a text message. This article will help you set up a Spring Boot application that will expose a REST API to send the SMS. You will also be using the Twilio Java Helper Library.

    In this article, you will learn how to navigate a Java IDE to set up and build a Spring Boot application and send an SMS to your mobile device. Find the code for the article on GitHub.

    Tutorial Requirements

    Read More
  • By Mia Adjei
    Host Video Office Hours with SMS Notifications using Python and Twilio Host Video Office Hours with SMS Notifications using Python and Twilio

    When you think of "office hours", what comes to mind? Perhaps you imagine a professor who has set aside time for students to stop by their office to ask for advice or receive guidance. Or maybe you imagine a business leader who creates space on their calendar for colleagues and direct reports to ask questions or share their ideas.

    With the rise of virtual and hybrid environments, many people have taken their office hours online, and video chat provides a great way to have face-to-face conversations without needing to be in the same physical location.

    In this tutorial, you will learn how to build a virtual office hours application that allows you to create a new, named video room with a customized timeout window and receive an SMS notification when a participant joins the room. For this project, you will use Python and Flask, along with a bit of …

    Read More
  • By Niels Swimberghe
    What's new in the Twilio helper library for ASP.NET (v5.73.0 - April 2022) What's new in the Twilio helper library for ASP.NET (v5.73.0 - April 2022)

    The Twilio helper library for ASP.NET (Twilio.AspNet) is a community-driven open-source project to make integrating Twilio with ASP.NET easier, for both ASP.NET Core and ASP.NET MVC on .NET Framework. The library helps you with very common use cases like:

    • Responding to Twilio webhook requests with TwiML objects from the official Twilio SDK for C# and .NET.
    • Binding data from Twilio webhook requests to strongly typed .NET objects.
    • Validating webhook requests originate from Twilio and rejecting them if not.

    As .NET and ASP.NET is evolving, the Twilio.AspNet contributors are enhancing the library to take advantage of the newest capabilities and best practices. So what's new?

    What's old in Twilio.AspNet

    Actually, before I share the shiny new additions, let me share what is already part of the library. After all, this is the first blog post to share news about the library.

    Handle Twilio webhook requests with ASP.NET

    In previous versions …

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