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 Maciej Treder
    How to Register a Twilio Phone Number and Send an SMS Using the Twilio CLI phonenumbercli.png

    There are over 4.5 billion text-enabled devices. This creates a huge opportunity to notify people about upcoming appointments, special events, breaking news, or commercial promotions via SMS. Sending SMS messages programmatically enables reaching many people almost simultaneously. With Twilio Programmable SMS, you can register your own virtual phone number and send SMS messages across the world.

    This tutorial will show you how to set up Twilio CLI, register a phone number and send an SMS using .the new number

    Important compliance note: There are rules for using SMS messaging and they vary between countries. Familiarize yourself with the countries’ rules  in which you’ll be sending messages with the Twilio Regulatory Guidelines for SMS.


    To complete the project described in this tutorial you will need the following tools and resources:

    • Twilio account – Sign up for free using this link and receive an additional $10 account credit when you …
    Read More
  • By Jesse Sumrak
    6 Best SMS Marketing Case Studies 6 Best SMS Marketing Case Studies.png

    SMS marketing continues to gain popularity, and it's expected to increase by 52% by 2023. According to our 2020 Global Messaging Engagement Report, SMS is the 2nd-most-preferred communication channel among generations young and old throughout the world.

    However, not all text message campaigns are created equally. Some lead to high conversion rates and customer engagement, while others cause frustration, unsubscribes, and damage to brand reputation.

    Obviously, you'd prefer the former over the latter—but that's easier said than done. Let us lend you a hand.

    This quick-and-easy SMS marketing case studies guide will walk you through best practices, customer case studies, key takeaways, and additional campaign opportunities.

    Let's jump right in.

    Text Message Marketing Best Practices

    SMS marketing (also known as text message marketing) is an effective marketing tool, but only when used appropriately. We'll walk you through a few best practices to get you started on the …

    Read More
  • By Brooke Isaacs
    12 SMS Templates & Examples to Get You Started sms_templates.png

    It can be difficult to know where to begin when starting to use SMS, but it may be the hero of your marketing communication strategy. With the opportunity for versatile content and creative campaigns as well as high average open rates, SMS should be a priority in your outbound messaging communications with customers.

    To help you get started, we’ve compiled everything you need to know, including a wide variety of SMS text message templates and examples, like:

    • SMS best practices
    • Appointment reminder templates
    • Order confirmation templates
    • Delivery notification templates
    • Abandoned cart reminder templates
    • Marketing and promotions templates

    SMS Best Practices

    The first and most important thing to remember when writing SMS text messages is that characters are limited to 160 characters per message. That being said, most modern devices can segment and rebuild messages of up to 1600 characters, but the best practice is to stick with 160. Knowing that …

    Read More
  • By Lizzie Siegle
    How to Translate English to Mandalorian with Twilio Serverless and SMS mandoheader2.png

    Celebrate Star Wars Day on May 4th by texting a sentence to +14807573107 to translate it into the Mandalorian language and read on to learn how to build the app using the Mandalorian Translator API, Twilio Functions, and the Twilio Serverless Toolkit.

    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. Postman (you could alternatively make cURL requests from the command line)
    4. Node.js installed - download it here

    Make an API Request to Fun Translations  

    kylo approves gif

    Fun Translations offers multiple translator APIs--in addition to the Mandalorian, there's a Yoda tr …

    Read More
  • By Hagit Merhavi
    Building Twilio’s next-generation Conversations API for chat (and whatever comes next) Conversations-Blog-Header

    We know how valuable in-app and web chat can be in crafting powerful customer engagement. In fact, when we launched our IP Messaging API (which later became known as Twilio Programmable Chat) in 2015, we were among the first to offer developers a fully-featured cloud-hosted chat solution with reliable APIs and SDKs. 

    Since then, we’ve seen tens of millions of monthly active chat users interacting on Twilio – building communities, solving customer issues, and connecting with one another around the world. When the world as we know it came to a standstill at the height of the pandemic, developers deployed chat and other messaging-based channels to help distributed teams respond to customer queries and stay connected. The power of chat is only continuing to grow, as we found in the 2021 State of Customer Engagement Report. More than any other channel, over a third of businesses surveyed said they …

    Read More
  • By Sophia G. Upshaw
    Run a Giveaway with Twilio SMS giveaway (2).png

    An Instagram giveaway, especially during the holiday season, usually goes like this: give someone a follow, drop a comment, and tag a friend. What if you could host your own giveaway without having to check to see if everyone entering has followed these instructions?

    In this tutorial, you’ll learn how to host your own giveaway on a landing page using Twilio Programmable SMS so that followers can join your giveaway with an auto-generated text message!


    To follow this tutorial you’ll need:

    Setting up the giveaway entry

    Before you get hands deep in some JavaScript, it’s important to set up the front-end of your giveaway. This section will guide you through the process of creating a URL that can create a pre-populated SMS message once clicked by a …

    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 Messaging.

    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 Sylvan Ash
    Envoyer des rappels SMS en PHP depuis votre app Symfony rappels-sms-php-symphony-banner

    Si vous avez un système de réservations, et que vous prenez des rendez-vous de type massages, psychologues, dentaires ou médicaux, etc… ça serait sûrement pratique de rappeler aux clients la date de ce rendez-vous après qu’ils l’aient réservé, ou même à la personne qui leur offre le service.

    Dans ce tutoriel, vous apprendrez à envoyer des rappels SMS aux clients à un temps donné avant leur rendez-vous dans un projet Symfony qui utilise le service SMS de Twilio.

    Cet article part du principe que :

    • Vous avez déjà paramétré LAMP, MAMP, XAMPP, ou un environnement de développement équivalent.
    • Vous êtes familiers avec Symfony 

    Mise en place

    On utilisera composer (un outil pour la gestion des dépendances) afin d’installer Symfony et le  SDK Twilio. Les instructions d’installation de composer peuvent être trouvées ici. Aussi, soyez sûrs d’installer composer globalement en suivant les instructions dans la sous-partie globale …

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