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 Brian Iyoha
    Building an Order Tracking System in Laravel Powered by Twilio SMS Building an Order Tracking System in Laravel Powered by Twilio SMS

    In today's world where online shopping is at an all-time high, the chances of your e-commerce site standing out are going to be based on how much you can get your customers to trust in your service(s) and the level of satisfaction gotten from using them. One way of improving customer satisfaction and "trust" in your online shop is by allowing your customers to gain knowledge about the current state of their package.

    An order tracking system will allow your customers to gain more information about the current status/location of their package. Doing this will help increase the satisfaction of your customers, as they too will have detailed insight into where their package is at any given point in time until it arrives at their desired location.

    In this tutorial, you will learn how to use Twilio’s Programmable SMS to create an order tracking system using Laravel and update users …

    Read More
  • By Pooja Srinath
    Send SMS in Your Spring Boot App spring-boot-java-websockets.png

    In this article, you’ll learn how to use WebSocket API with Spring Boot and build a simple status delivery application at the end.

    WebSocket is a communication protocol that makes it possible to establish a two-way communication channel between a server and its client. Websockets are supported by most of the browsers that are commonly used today. 

    Create an Application

    First, you need to set up your Twilio account and a suitable phone number.

    Here are the steps to generate a project using Spring Initializr: 

    1. Go to http://start.spring.io/.
    2. Enter Artifact’s value as websocket-callback.
    3. Add Websocket in the dependencies section.
    4. Click Generate Project to download the project.
    5. Extract the downloaded zip file.
    6. Note: You will need Java 8 or …
    Read More
  • By Miguel Grinberg
    Phone Verification with Twilio For Python Developers Phone Verification with Twilio for Python Developers

    Twilio Verify is a service that allows you to add phone verification to your applications. If you’re curious about the benefits of verifying your users, consider the following two use cases:

    • Reduce fake accounts - If you ask users to provide a valid phone number while they create an account, they will be less likely to create phony or duplicate accounts.
    • Two-factor authentication - Sending a verification code to your users when they sign-in can help protect their accounts if their credentials are compromised.

    In this tutorial, we’ll learn how to work with the Twilio Verify API in Python. Since this is such a simple API, we will be doing all the work from a Python shell!

    Tutorial Requirements

    To follow this tutorial you need the following items:

    • Python 3.5 or newer. If your operating system does not provide a Python 3.5+ interpreter, you can go to python.org to download …
    Read More
  • By Jess Seok
    Verified SMS in partnership with Google helps promote trust in messaging vsms header

    Today's consumers have access to more communication channels and receive more notifications (an average of 46 per day) than ever before. Among the legitimate and wanted communications they receive is a minefield of spam and spoofed messages and calls, making it hard for consumers and businesses to engage. 

    We're thrilled to be among the first providers partnering with Google for Verified SMS, bringing branded profiles and message verification to consumers using the Messages app on Android. Verified SMS empowers consumers to make informed decisions about the business communications they receive. It also enables businesses to deepen relationships with their consumers and boost engagement and conversions for their messaging campaigns.

    Starting today, innovative Twilio customers like 1-800-Flowers.com, Cover, Expensify, MINDBODY, SoFi, and Stackin’ join the ranks of leading companies using Verified SMS to boost trust and improve engagement.

    Our focus on delivering trusted communications

    Even with all of the technological advancements …

    Read More
  • By Matan Gal
    Message Redaction Supports Phone Number and Content Privacy for Sensitive Applications MessageRedaction.png

    Customer privacy is a big deal to us at Twilio, to improve privacy in messaging applications for our customers, we offer Message Redaction, which allows the redaction of message body and the last four digits of non-Twilio phone numbers. Messaging Redaction is now Generally Available.

    Many developers use our messaging APIs to create conversations, provide information or support critical experiences. For organizations delivering sensitive communications, the ability to prevent the storage of phone numbers or message content on Twilio’s servers can help to ensure the privacy of participants is maintained.

    Developers building with the Twilio Customer Engagement Platform are constantly creating new and novel projects to support some of their most pressing customer engagement challenges. Since every project and application is different, organizations can choose to enable both message body and phone number redaction, or both. It all depends on what’s being built.

    Getting started with Message Redaction for …

    Read More
  • By Miguel Grinberg
    Build a SMS Chatbot With Python, Flask and Twilio Build an SMS Chatbot with Python, Flask and Twilio

    In a previous article I showed you how to build a WhatsApp chatbot with Python, Flask and Twilio. Today I’m going to use similar techniques to build a chatbot that communicates with users through text messages using Twilio’s Programmable SMS.

    The chatbot that I’m going to build performs a simple analysis of what the user writes to find keywords of interest, which trigger the response of the chatbot. The two keywords in my implementation are “quote” and “cat”, which trigger responses of famous quotes and cat pictures respectively.

    Below you can see the chatbot in action:

    Chatbot demonstration

    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.
    • Flask. We will create a web application that responds to incoming SMS messages with it.
    • ngrok. We …
    Read More
  • By Dominik Kundel
    Sending SMS from GitHub Actions Decorative header image "Sending SMS from GitHub Actions"

    At GitHub Universe 2019, GitHub announced that Actions have been moved into General Availability. We are very excited about this launch and as part of it have launched the Twilio SMS for GitHub Action. In this blog post we'll look at how you can get started with that and some use cases for it.

    Getting Started

    You can find the Twilio SMS Action in the GitHub Marketplace. Before using it, you'll need a Twilio account. Sign up for free to get your account details.

    Once you have an account, we'll need two additional things.

    Get a phone number

    If you haven't gotten a phone number yet, head over to the Phone Numbers section of the Twilio Console and select your preferred phone number. Make sure it has SMS capabilities enabled.

    screenshot of Twilio Console with arrow pointing at SMS capability checkbox in Phone Numbers screen

    Once you have that phone number, make sure to note it down somewhere. We'll need it later when …

    Read More
  • By Tilde Thurium
    SMS Affirmations With Twilio And Flic Buttons SMS affirmations with Twilio and Flic buttons

    Earlier this year I built an affirmations button with Twilio Internet of Things. When I’m feeling insecure or anxious (which is often), the button lets me ground myself with a physical gesture and receive a reassuring text message in return.

    A wooden box with a blue button on the top sits on a table. The box has turquoise, teal, and neon yellow stripes.

    The box holding the button looks cool but it's not as portable as I’d like, since it contains a Raspberry Pi. As a Twilio Developer Evangelist, I’m on the road writing code fairly often. I needed something that takes up less space in my luggage.

    Today I’ll show you how to build a more portable affirmations button with Flic.

    What is a Flic button?

    Flic buttons are hardware buttons that are small enough to fit in a pocket. Out of the box, they can be configured to do various things when pushed, such as:

    You can …

    Read More
  • By Scott Sturdivant
    Build A Fax Portal with Twilio, Python and Flask Build a Fax Portal with Twilio, Python and Flask

    It's nearly 2020 and can you believe that faxes are still alive?  

    Without fail, it seems that when the weather turns nasty, it's inevitable that we'll be forced to drive to the local business center and pay too much per sheet for what should just be an email.

    Follow along as we utilize Twilio's fax enabled numbers and a simple web portal to send our own faxes, quickly and cost effectively, and from the comfort of your residence!

    Project Dependencies

    We'll be using a Twilio Programmable Fax number, Python 3, Flask, and the Twilio Python Helper library as our core requirements. Optionally, we'll add in Twilio SMS to receive the status of our submissions.

    Twilio

    We're not going anywhere if we don't have a Twilio Fax-Enabled number, so if you do not already have one, head on over and sign up for a free account.

    Once you …

    Read More
  • By Felistas Ngumi
    Serverless SMS Messaging using JavaScript and Twilio Functions Serverless SMS Messaging using JavaScript and Twilio Functions

    Function As A Service is a solution that allows developers to develop, deploy, and run event-driven functions in the cloud that are fully managed. Without the need for maintaining infrastructure, "serverless" architecture is achieved. In this tutorial, you will learn how to send Twilio Programmable SMS using the new Twilio CLI.

    Project Setup

    You will need the following items in order to get started:

    1. A Twilio account
    2. Twilio CLI
    3. Node Version 8 and above.

    Getting Started

    First, install the Twilio CLI. I'm currently using version 1.8.1. Run the following command in your preferred terminal if on a Mac:

    $ brew tap twilio/brew && brew install twilio
    

    If you are on a different platform, you can find the setup instructions here.

    To confirm a successful installation of the CLI has occurred, type twilio in a new terminal session and the output below should appear.

    Twilio CLI console

    Login to your Twilio account by …

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