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
  • 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 Jonas Lerebours
    Incident Notification and Escalation Loop using Programmable Voice Incident Notification and Escalation Loop

    Systems and Infrastructures are constantly monitored, and monitoring teams need to dispatch technicians to fix issues as fast as possible when an incident is raised. Using the Twilio API you already can call a single number to reach a technician and deliver a message, or call several numbers and deliver the message to the first person who answers. In this article we introduce an escalation loop: define several people to be called in case of an incident and call them in order, one after the other, until one of them accepts the call.

    For this to happen, we created a reusable set of Twilio Functions that can be triggered by a simple call to a REST API. The code for this solution is available on Github and can be easily deployed on your Twilio project.

    Prerequisites

    Before you can build the escalation and notification loop, you'll need to register or …

    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 is 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 cyber-attack 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 cyber-attack 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 …
    Read More
  • By Ashutosh Hathidara
    Automatically Send Birthday Wishes with Python Flask and WhatsApp Automatically Send Birthday Wishes with Python Flask and WhatsApp

    Do you forget to send birthday wishes to your friends and loved ones? I do, and it usually results in being scolded by my fiancée! I’ve often wished for a software program that could send birthday wishes on my behalf.

    In this tutorial, we will create this exact end-to-end system. We will use Twilio's What’sApp API for sending the messages, the Flask web framework for the web server, and we will run messaging jobs periodically using APScheduler. We’ll also deploy the Flask application to AWS so it can be deployed resiliently and at scale.

    The complete code for this tutorial is available in this Github repository.

    Prerequisites

    • A Twilio account. (Sign up with this link and receive an additional $10 credit.)
    • The WhatsApp application installed on your mobile phone
    • An activated WhatsApp Sandbox (be sure to follow the setup instructions).
    • Your Account SID and Auth Token, found …
    Read More
  • By Twilio
    Contact Centre vs. Call Centre: What’s the Difference? Contact-centre-vs-call-centre.png

    One of the ironies of 21st-century life is that virtually all of us carry a phone with us at all times, but most of us rarely use it as an actual phone. We text, email, post on social media, use messenger apps—anything to avoid the hassle of actually making a call.

    This preference extends to our consumer lives as well. Would I rather sit on hold for 45 minutes, or spend a few minutes in a chat queue? Even the most soothing of smooth-jazz hold music can’t make the former seem more attractive.

    In a survey of UK and US consumers, 83% said it’s often difficult to communicate with a business. However, only 36% of UK businesses acknowledged these challenges.

    UK-communications-businesses.png

    As consumers demand more ways to talk to your brand than the dreaded phone call, it’s time to rethink the concept of a call centre and work toward a …

    Read More
  • By Sean Coleman
    Help Your Users Help Themselves with the New Video Diagnostics App, Now in Beta Help Your Users Help Themselves with the New Video Diagnostics App, Now in Beta

    The reality when building and operating real-time video applications is that sometimes the device, software, and network conditions of your end users, variables seemingly outside your control, can negatively impact their perception of the quality of your video service. Thus, to help your customers have high-quality video experiences, it is important to take the necessary steps to ensure users are set up to have a successful first video call experience during onboarding or to be able to quickly diagnose end users' issues when they arise.

    To help you with this, we are excited to announce the release of the Video Diagnostics Web App, an open source ReactJS application demonstrating how to test a participant’s ability to have a high-quality video call with the Twilio platform - now available in Public Beta for WebRTC Go, P2P, and Group room developers. It can be used as part of onboarding or as …

    Read More
  • By Laxman Eppalagudem
    Can The Real Codeowners Please Stand Up? Code Provenance at Scale Code ownership at scale

    Figuring out code ownership at a large company can be challenging. And identifying code owners during code related incidents is hard – with an element of stress to boot. The Product Security team at Twilio set out to solve our code ownership challenges in a way that we think can help you as well.

    Today, we’re proud to release two things that go along way towards solving the problem:

    • about.yaml - a new code ownership file specification that has all the information you need to trace any code’s current owner across your company
    • Gordon - a Github app service to monitor repositories for keeping about.yaml files up-to-date.

    Why do we need this?

    More times than we’d like to admit, we found ourselves in a situation where we find a bug or vulnerability in a piece of code, do a git blame to see who last touched that code, and find …

    Read More
  • By Twilio
    A Conversation with Marc Boroditsky, Chief Revenue Officer at Twilio A conversation with Marc Boroditsky

    Take one look at Marc Boroditisky's LinkedIn profile, and it's immediately apparent that he is an innovative and successful sales leader. But it's also quite clear that he hasn't had a traditional career path.

    Boroditsky has founded, built, and sold several companies, including Numera and Passlogix. When Passlogix was sold to Oracle, Boroditsky signed on to lead their Identity Management product lines. Then, after advising Authy, the two-factor authentication startup, Boroditsky joined on as President and COO. A casual lunch with Twilio founder Jeff Lawson led to Authy’s acquisition and a role as Twilio's VP & GM for Authentication before moving to a sales leadership role. In 2020, he took on global responsibilities as Chief Revenue Officer for Twilio.

    In a recent blog post, Boroditsky weighed in on how Twilio is building a world-class sales organization and what that looks like. It was such an insightful discussion that …

    Read More
  • By Ismael Hernández Muñoz
    How to Run a Canary Analysis with Kayenta header - How to Run a Canary Analysis with Kayenta

    A Canary Deployment is a deployment technique to reduce the risk of deploying a new version of an application or service into production. The new version, referred to as the canary, is first rolled out to a small subset of users.

    The application is monitored for errors or other anomalies that may have been introduced by the new software version. If none are detected, then the new version can be rolled out to the entire infrastructure and made available to everybody. This process is explained with the diagram below:

    diagram demonstrating the differences between software versions for two test groups

    However, the monitoring required to determine whether a new release can be rolled out to everybody can be difficult. To make sure the new changes do not introduce any issues, developers must analyze metrics such as system resource usage, latency, or application errors.

    Metrics produced by the canary version are compared to the previous version to find any significant differences between …

    Read More
  • By Stephenie Minami Nakajima
    Creating a web chat app with Twilio Conversations and Vue.js (Part 1) Creating a web chat app with Twilio Conversations and Vue.js (Part 1)

    Background

    Twilio Conversations is an API that creates a virtual space for users to communicate across multiple channels. Twilio Conversations supports multiple chat platforms for cross and multi-channel communication. For example, a chat started via SMS can be continued via MMS, WhatsApp or web chat. Using the API, you can create conversations, add users, and monitor events during conversations via webhooks, making it possible to implement a communication method tailored to your needs.

    In this tutorial, I will show you how to create a simple web chat app with Twilio Conversations and Vue.js.

    This tutorial is divided into 2 parts: part 1 covers the project setup and back end development, while part 2 covers the front end development and testing of the app.

    Part 2: Creating a web chat app with Twilio Conversations and Vue.js (Part 2)

    Goal

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

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