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 Alina Libova Cohen
    Baby Proofing with Raspberry Pi, Machine Learning and Twilio Programmable SMS Baby proofing with Raspberry Pi, Machine Learning and Twillio Programmable SMS

    cat detection demo

    Anyone with a baby and a cat knows maintaining the peace requires constant vigilance.  Thankfully, complete vigilance can now be bought for the low price of a Raspberry Pi, a webcam and the time it takes to read the rest of this article.  Here’s how I turned my Raspberry Pi into a 24/7 rent-a-cop.  

    Bottom line

    Using machine learning and Twilio, your Raspberry Pi can continuously monitor any area of your home using an off-the-shelf USB webcam.  This guide will walk you through how to set up your Raspberry Pi with YOLO, a real time object detection library, Darknet, an open-source neural network framework, OpenCV, a library for image processing, NNPack, a package for accelerating neural network computation, and Twilio Programmable SMS for sending notifications.

    Background

    This project came out of a personal need. We’re the proud owners of:

    • A Cat-obsessed baby
    • A Baby-obsessed cat

    This …

    Read More
  • By Toby Allen
    Simple Urgent SMS Notifications with Google Sheets and Twilio Urgent SMS Notifications with Google Sheets and Twilio Programmable SMS

    If you find yourself needing to send urgent messages out to customers or staff but don’t have developers on hand or access to your usual tools. Then this tutorial that shows you how to send SMS notifications from Google sheets may be perfect for you. In this blog post we’ll show you how to send messages to a list of numbers from a Google Sheet using Apps Script.

    Tutorial Requirements

    To follow this tutorial you need the following items:

    • A Twilio account — If you are new to Twilio you can create a trial account with $10 US trial credit
    • A Google or G-Suite account to access Google Sheets. You can create one here.

    From Number or Alphanumeric Sender ID?

    Twilio supports different options for sending SMS messages to numbers. These include standard phone numbers, Toll Free Numbers, Short Codes and Alphanumeric Sender IDs. Additionally, SMS regulations …

    Read More
  • By Tilde Thurium
    Using Twilio Studio and Conversations with SMS Using Twilio Studio and Twilio Conversations with SMS

    Communication is complicated. No matter what your business is, it’s important to meet people where they’re at and engage with them on the communication platforms they’re already using.

    Twilio Conversations enables you to build unified spaces where users on different platforms can communicate with one another. Think of it like a video conference bridge, but for text-based communication.

    Twilio Studio is a visual application builder that allows you to write conditional logic for handling messaging flows without writing any code.

    In this post you’ll learn to integrate Studio and Conversations with a few steps of configuration and a small amount of code. Doing so unlocks a few use cases, such as:

    •  Access to the status callbacks so you can keep track of message delivery status
    • Sending the entire chat transcript to a human operator

    Prerequisites

    Read More
  • By Al Kiramoto
    Create a Simple Notification System using Twilio CLI, Programmable Voice, and Programmable Messaging Messaging Contacts Notifications

    If you find yourself needing to broadcast urgent news to your customers or employees, but do not have a notification system in place, this tutorial is for you. In this blog post we'll show you how to create a bash script to quickly send SMS messages or Voice message notifications to several recipients in a CSV.

    Prerequisites

    To get started with the project you will need the following:

    Setting up the Twilio CLI

    If you haven’t already done so, go to twilio.com and sign up for a free account or log in to your existing account. Take note of your Account SID and Auth Token as you will need them to login via the CLI in the following steps.

    Twilio CLI is …

    Read More
  • By David Fundakowski
    Sending MMS with Twilio Programmable SMS, Python and Django Sending MMS with Twilio Programmable SMS, Python and Django

    Modern communication through texting includes so much more than simple text messages. People use images, GIFs, audio files, web links, and any other media in messages in order to communicate with each other effectively. Twilio Programmable SMS makes it extremely simple to send basic SMS, but it’s just as simple to send MMS media like GIFs and images.

    In this tutorial, you will be setting up a Django project using virtual environments, creating a free Twilio account, provisioning a phone number, and finally, creating an app to respond to inbound SMS with either a GIF, an image, or a basic SMS.

    By the end of this tutorial, you will be able to:

    • Set up a free Twilio account
    • Parse inbound SMS content using Twilio Programmable SMS in a Django app
    • Respond to inbound SMS with a GIF, an image, or an SMS depending on the inbound message

    mms example use

    Tutorial requirements

    To …

    Read More
  • By Brian Thompson
    Build a Shipment Notification Service with Python, Flask, Twilio and EasyPost Building a Shipment Notification Service with Python, Twilio and EasyPost

    With eCommerce becoming more mainstream, companies are shipping goods directly to their consumers now more than ever.  Once consumers buy something online, they want to know where their order is in the fulfillment process and when it should arrive, and that’s where Twilio and EasyPost come in handy.

    In this tutorial, you’ll see how easy it is to track the movement of shipments with the EasyPost API for Tracking, and programmatically notify individuals via the Twilio SMS API and the Flask framework for Python.

    Below is an example of the type of notifications that you’ll be sending automatically with this app:

    shipment notification sms

    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 webhooks from …
    Read More
  • By April Speight
    Create a NASA Astronomy Picture of the Day Scheduled SMS with Python, Twilio and Azure Functions Create a NASA Astronomy Picture of the Day Scheduled SMS with Python and Azure Functions

    Recently, my friends and I were invited to NASA to take part in a behind-the-scenes tour and briefing on five new research campaigns that will take to the field in 2020 to explore questions critical to understanding our home planet!

    With so much to look forward to, I decided to create a countdown for the days leading up to our road trip! Rather than execute the group chat countdown manually, I decided to get a little help from my friends at Twilio, Azure Functions and NASA's astronomy picture of the day API. My goal was to accomplish the following:

    • Countdown the number of days remaining until the trip to NASA
    • Include NASA's astronomy picture of the day
    • Schedule a message to be sent every morning at 9AM

    Here's an example of a message:

    scheduled sms demo

    In this tutorial I’m going to show you how to create a countdown SMS that sends a …

    Read More
  • By Toby Allen
    Build Two-Way Email to SMS with SendGrid and Twilio Hello SMS SendGrid to Email Forward

    Lots of businesses want to be able to communicate over SMS to their customers but struggle to integrate with established processes like shared email inboxes. Do you share a phone with the team, or do you opt for an inflexible 3rd party Email to SMS gateway with strict routing rules?

    Now, with the power of Twilio SendGrid email and Twilio SMS, you can quickly set up your own two-way email to SMS forwarding solution.

    In this short tutorial, you'll learn how to route messages from a Twilio SMS capable number to a shared inbox and vice-versa. We will do this by sending inbound SMS messages to email using the SendGrid API. Conversely, we'll leverage SendGrid's Inbound Parse functionality to call the Twilio Messaging API. In both cases, we're going to use a small JavaScript function hosted in the Zeit Serverless environment. Zeit has been chosen for this because …

    Read More
  • By Peter Tan
    What you should know about Verizon’s A2P 10DLC Service Screen Shot 2020-03-01 at 9.42.12 PM.png

    In January, Verizon took a major stride in their commitment to increasing deliverability and reliability of messaging by being the first carrier to launch their A2P 10-digit long code (10DLC) service for SMS & MMS. As application-to-person (A2P) messaging continues to increase year-over-year, projecting to hit 3.5 trillion messages by 2023, carriers are focused on protecting consumers while ensuring good actors have access to the resources they need to engage with customers.  Let’s break down the A2P landscape to understand what brought us to where we are now, Verizon’s launch, and where we’re heading over the next five years.

    A Brief History of A2P

    First, let’s define it — A2P messaging is any kind of messaging that originates from an application. A2P messaging is business messaging (businesses messaging people). This includes, but is not limited to, marketing messages, appointment reminders, chat bots or virtual assistants, notifications, and one-time passwords. …

    Read More
  • By Dotun Jolaoso
    How to build a Laravel Twilio Package for SMS How to Build a Laravel Twilio Package

    I recently realized that every time I had to do an integration with Twilio for sending SMS in a Laravel project, I used a custom wrapper around the Twilio PHP library to help me simplify the process. However, this became a bit monotonous for me as I always had to copy and paste this wrapper every time I was starting a new Laravel project. In this tutorial, you’ll join me in learning how to build a Laravel Twilio Package to eliminate copying and pasting and benefit from package management. This will also allow other developers such as yourself to make use of this package.

    Technical Requirements

    To complete this tutorial, you will need the following:

    Setting up a New Package

    We’ll be using Composer to set up the package. From the terminal, cd into your project’s directory and run the following command:

    $ composer init
    

    This …

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