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
    Keep a Journal of Special Moments using Twilio Programmable SMS and Google Sheets Keep a Journal of Special Moments using Twilio Programmable SMS and Google Sheets

    "It’s amazing how easy it is to forget the magical little moments you assumed would get tattooed on your brain." I read in Matthew Dick's article on how to remember more of your kid's childhood and couldn't help nodding along.

    My toddler recently turned two and a half and my second daughter was born three weeks ago, so special moments are abundant but the ability to remember them is severely compromised. His suggestion of recording a memory every day in an Excel sheet or leather bound journal resonated with me, but after a few days of trying to find time to open up Excel and write a memory I realized I needed a more lightweight solution. Texting, especially with the voice dictation feature, has always been my favorite medium, and Twilio makes it easy and cheap to set up a dedicated phone number that can record those text messages to …

    Read More
  • By Diane Phan
    How to Send an SMS With Spark and Java How to Send an SMS With Spark and Java

    Twilio is all about powering communication and doing it conveniently and quickly in any language.

    With the help of the Twilio SMS API, Java, and the Spark framework, you can respond to all incoming SMS' with a text message. This article will help you set up a Spark application with a lightweight framework allowing you to be more productive in expanding and developing the project further.

    In this article, you will learn how to navigate a Java IDE to set up and build a Java Spark application and send an SMS to your mobile device.

    Tutorial requirements

    Read More
  • By Matthew Gilliard
    Gruppen-SMS mit Twilio und Java Gruppen-SMS mit Twilio und Java

    Hallo und Danke fürs Lesen! Dieser Blogpost ist eine Übersetzung von Group SMS with Twilio and Java. Während wir unsere Übersetzungsprozesse verbessern, würden wir uns über Dein Feedback an help@twilio.com freuen, solltest Du etwas bemerken, was falsch übersetzt wurde. Wir bedanken uns für hilfreiche Beiträge mit Twilio Swag :)

    Das Leben ist kompliziert genug. Da wollen wir nicht noch Nachrichten zwischen Freunden und Familienmitgliedern weiterleiten müssen, damit auch alle immer auf dem Laufenden sind. In diesem Beitrag erläutere ich, wie ich eine Twilio-Nummer eingerichtet habe, die ich als „meine“ Telefonnummer an die Schulen meiner Kinder weitergab. Ich wollte, dass alle Nachrichten, die an und von dieser Nummer gesendet werden, automatisch an mich und meine Frau weitergeleitet werden und einer von uns antworten kann. Bestimmt kannst du dir Situationen in deinem eigenen Leben vorstellen, in denen das praktisch sein könnte: Paketlieferungen, Party-Planung, Terminerinnerungen – die Liste ist lang.

    In diesem …

    Read More
  • By Ashley Boucher
    Build a Trick or Treat Chatbot with Twilio Studio and Functions, and Node.js halloweenchatbot1.png

    With Halloween around the corner, I decided I wanted to build a chatbot to help people find trick or treat locations in their neighborhood. The idea was that a user could send an SMS to the chatbot’s phone number and interact with the bot to either find trick or treat locations, or add their location to the list of places giving out candy or hosting spooky events.

    In this article, you’ll learn how to build a chatbot like mine that you can customize however you like.

    Prerequisites

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

    Overview of the chatbot architecture

    The chatbot you’re about to build will use the …

    Read More
  • By Miguel Grinberg
    How to Verify Phone Numbers in a Django Application with Twilio Verify How to Verify Phone Numbers in a Django Application with Twilio Verify

    When building a user registration and authentication system for your web application, you run the risk of not properly detecting fake or duplicate accounts. A very effective way to reduce this risk is to require users to verify their accounts right after they register.

    In this tutorial I’m going to show you how to extend the Django authentication system to include an SMS verification step in the user registration flow, using the Twilio Verify service. Among other things, you will learn how to:

    • Customize the user database model
    • Ask for additional information in the user registration page
    • Send and check SMS verification codes with the Twilio Verify service
    • Prevent access to parts of the application to users that haven’t verified their accounts

    Project demonstration

    Ready to begin? Let’s go!

    Prerequisites

    To follow this tutorial you need the following items:

    • Python 3.6 or newer. If your operating system does not provide a Python …
    Read More
  • By Oluyemi Olususi
    Create One-Time Passwords in PHP with Symfony and Twilio's Verify API Create One-Time Passwords in PHP with Symfony and Twilio's Verify API

    As security threats continue to grow and their impacts become ever-more significant, Two-factor Authentication (2FA) is progressively becoming a de facto security standard. As an extra layer of security to the traditional username/email and password combination normally provided by the user(s) of an application, Two-factor authentication works and can be implemented by:

    • Generating and sending a numeric code to the user's mobile device either via SMS, email, or phone call. This is popularly called One-Time Password (OTP) as it is a short-live password that can only be used once during authentication.
    • Using an authenticator app to provide a constantly rotating set of codes that can be used for authentication when needed.
    • Using push authentication where a user responds to a device push notification to either approve or reject an in-application event.

    In this article, I will show you how to generate an OTP and send it to the user via …

    Read More
  • By Ashley Boucher
    Verify a User via SMS with Express and Twilio Verify verify sms express.png

    Many applications verify and authorize their users by sending a numeric code, called a One-Time Passcode (OTP), to the user’s phone number via either a voice call or a text message.

    In this article you’ll learn how to perform user verification via SMS through Twilio Verify. You’ll build a pared down frontend using JavaScript and HTML and you’ll build a Node.js backend with Express.

    Prerequisites

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

    • Node.js installed on your machine, along with a package manager like npm or yarn
    • A free Twilio account (sign up with this link and get $10 in free credit when you upgrade your account)
    • A phone where you can receive text messages

    Scaffold your backend

    In your terminal or command prompt window, navigate to your main projects or development folder. From there, run the following commands to create a new project folder, …

    Read More
  • By Darragh O'Connor
    Smishing: SMS Phishing Explained SMS Phishing Explained.png

    With the rise of attacks using familiar everyday tech as vectors, it's important to discuss the difference between a legitimate, bulk SMS and a well-crafted, malicious SMS designed to access your data or use your device for more nefarious actions.

    In this article, we provide an overview of an increasingly common cyberattack that relies on the common usage of SMS as a platform, SMS phishing, and how it differs from bulk SMS. We'll walk through examples of SMS phishing, highlight what you should watch out for, and help you recognize legitimate SMS communications.

    What is phishing?

    Phishing is a cyberattack that disguises common communication platforms, such as email or messaging services, as a weapon. The goal of this attack is to trick the recipient into believing that the message is urgent and something that they want or need.

    Typically, these attacks can include:

    • A request from their bank to log …
    Read More
  • By Daizen Ikehara
    Event Streamsを用いてTwilioのログをNode.jsとExpressサーバーアプリケーションで処理する方法 event-streams-nodejs-express-jp

    Event Streamsは執筆時点でPublic Betaとなるため、今後設定方法や仕様が変更される可能性があります。

    Twilioは音声通話、SMS、ビデオなどさまざまなコミュニケーションAPIを提供しています。それぞれのAPIの実行結果はstatusCallback、あるいは類似したプロパティにコールバックURLを設定することでアプリケーション側にログを通知し、分析やエラー処理を行えるようになっています。

    例 - Programmable SMS API(statusCallbackで検索)

    このコールバックは簡単に利用できますが、複数のTwilioサービスを利用する場合はサービスごとあるいはリクエストごとに指定する必要があります。さらに、ログのフォーマットもサービスごとに異なる場合があります。

    Event Streamsは各サービスのログをCloudEventsの仕様に沿って正規化、集約し、指定した宛先に配信します。そのためサービスごとに複数のコールバックを指定する必要がなく、またログの処理やエラーハンドリングをより簡単に実装できます。今回はこのEvent StreamsをNode.js/Expressサーバーアプリケーションで利用する方法を紹介します。また、Event Streamsの特長についてはこちらの記事で取り上げられていますのでぜひご覧ください。

    FAQにも記載されていますが、Event Streamsは既存のステータスコールバックを置き換えるものではありません。今後も引き続き利用できます。

    前提条件

    このチュート …

    Read More
  • By Diksha Chawla
    How to Calculate Your Message Queue Length Message Queue Length Header

    We’ve seen quite a few reasons where it’s useful to monitor message queue lengths outside Messaging Insights in the Console. However, most of the use cases we’ve seen fit into a couple of categories.

    First, ISVs might not want to provide their customers access to the Twilio Console. However, understanding queue health in real-time will allow customers of ISVs to strategize and take full advantage of their messaging platform.

    Second, direct customers might prefer not to give all employees access to the Twilio Console. For example, marketing team members responsible for managing campaigns might not have access to the Twilio Console and won’t then have access to the Messaging Insights dashboard. They may need the information for planning purposes.

    In this post, we’ll look at how to calculate the message queue length so you can expose it without giving access to Message Insights in the Console.


    How many messages can …

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