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 Sam Agnew
    How to Send Recurring Emails in Python with SendGrid 1.png

    Many applications have the need to send emails programmatically at specific times or regular intervals. In Python this is possible with the use of the Twilio SendGrid API for sending emails as well as Redis Queue and RQ Scheduler. Let's walk through how to schedule an email step by step.

    Prerequisites and dependencies

    Make sure you have the following before moving on:

    Here is a guide you can follow for setting up your development environment if you are going to be doing more web development with Python in general and are unfamiliar with things like virtual environments.

    Before writing code, you'll need to install some dependencies:

    Read More
  • By Kenneth Ekandem
    How to Use Multiple Authentication Providers in Lumen How to Use Multiple Authentication Providers in Lumen

    As we all know, authentication is a very important aspect of building an application because you want to ensure that users can only access routes and information that they're allowed to.

    Authentication takes many forms and a common one is tokenization which we will be focusing on in this tutorial.

    Tokenization replaces a sensitive data element, for example, user information such as user id's, names, and emails, with a non-sensitive substitute, known as a token.

    But how will issuing tokens be beneficial to multiple authentications? Well, since every user has a unique token, and they can be stored in separate database tables, the token can be queried across these tables to find a match, and based on which return a true, the route can be limited or opened for the user.

    In this tutorial, you will learn how to use multiple authentication providers in Lumen to limit access to routes, …

    Read More
  • By Robert Hockley
    Creating a Emergency Outage IVR Response in Twilio Studio Article Header

    If you are part of a team that ensures the smooth operation of a contact center, you may be tasked with planning for the unknown. Surprises or rapidly changing situations are times when the value of a cloud-based voice solution shows through. In the case of an emergency — such as a weather-related closure, a facilities problem, or a personnel challenge — you may need to remotely activate a temporary change to your voice responder.

    In this article, I will use Twilio’s IVR solution to create an emergency outage message that can play for incoming callers, notifying them of an unmanned queue. This message can save customers time and frustration and give you space to ensure the health and safety of your team. If you follow along with me through the steps I present here, you’ll have a working outage message for your selected Twilio phone numbers.

    Tutorial prerequisites

    To …

    Read More
  • By Josh Siverson
    Putting on our ISV Shoes Shoes image

    Twilio is an API-first company that supports builders. We get to work with builders who range from hobbyist developers to software developers at large multinational enterprises. Some of the customers are referred to as Independent Software Vendors (ISVs). We offer a definition for “ISV” in this blog post.

    Twilio partners with ISVs to provide communication infrastructure APIs, access to the Super Network, and communications expertise, so that ISVs’ teams can focus on building innovative customer engagement solutions that delight their own customers.

    When ISVs come to Twilio, one of the first things they say is, “Wow, there are so many APIs and products! Where do I begin?” That question is a fun one for us Twilions to answer, because the answer itself is a question: “What challenge(s) are you trying to address?”

    In the spirit of two of the values outlined in the Twilio MagicWear the …

    Read More
  • By Elijah Asaolu
    Passwordless Authentication With PHP Using Twilio Verify Passwordless Authentication with PHP using Twilio Verify

    Passwordless authentication refers to an authentication method that does not require a password or any other knowledge-based secret to log a user into a system. This method of authentication adopts the means of authorizing users by sending a unique, one-time code (OTP) or magic link to the user via email, push notification, or text message.

    In this article, you'll learn how the infrastructure underlying passwordless authentication works, and create a small app that uses this authentication approach.

    How it works

    Most passwordless authentication implementations have a single entry point, i.e., a single page for both new users signing up and for existing users logging in to their accounts.

    In a typical implementation, both new and existing users are asked to enter their mobile phone number during either registration or login. After verifying the mobile number, the system checks if the user is an existing one or a new one. If …

    Read More
  • By Yong Hui Yow
    Milestones For Onboarding your SMS Project to Twilio Article header

    Whether you are a small or medium-sized business, a large enterprise, or an ISV, Twilio is able to support your SMS needs. Navigating the setup, requirements, and compliance can seem daunting at first so the Twilio Customer Onboarding team is here to help you through the process.

    In this guide, we will share the milestones that we track while supporting a customer to build and deploy a messaging product. By the end of this article, you’ll have a checklist of actions that will help you launch your messaging project successfully.

    Defining the success of a launch

    Your use case and business goals will be key drivers in what success looks like and therefore each project will be unique. Overall, we define success to mean that you can:

    • Send at your desired volume.
    • Reach your target audience.
    • Achieve optimal throughput with minimal filtering.
    • Use our messaging product and its features confidently. …
    Read More
  • By Joseph Udonsak
    A Beginner's Guide to Test Driven Development With Symfony and Codeception - Part 2 A Beginner's Guide to Test Driven Development With Symfony and Codeception - Part 2

    Hey there! Welcome back!! In the first part of this series, we took a first look at Test Driven Development (TDD) and explained the need for it. We then got hands-on by setting up a new Symfony project which used Codeception as its testing library.

    Then, we used TDD to start building a P2P (Peer-to-peer) payment application. While building the authentication functionality, we uncovered some TDD gems such as the Red-Green-Refactor cycle and Sliming.

    In this part, we'll dive back into TDD and continue building our application, implementing funds transfer functionality. While we do that, we will also see how Codeception makes provisions for us to customise our test suite to add our own helper methods and assertions.

    The functionality we will build in this series has three parts:

    1. Authentication: This feature includes login and registration.
    2. Transfers: This feature allows one registered user to send money to another registered …
    Read More
  • By Prosper Ugbovo
    How to Manage Dates and Times in PHP Using Carbon How to Manage Dates And Times In PHP Using Carbon

    Date and time manipulation is one of a few frequently-experienced challenges of developing web apps in PHP. And one of it's most prevalent issues is identifying time disparities and making them readable, such as "one hour ago".

    However, handling dates and times, and issues such as this, is greatly simplified by using Carbon; it's a library which reduces lengthy hours of coding and debugging to only a few lines of code. This is because Carbon, created by Brian Nesbit, extends PHP's own DateTime class and makes it much simpler to use.

    If you've not heard of it before, it is self-described as:

    A basic PHP API extension for DateTime

    In this tutorial, you will learn Carbon's core features and capabilities, giving you the ability to far more easily manipulate date and time in PHP.

    Prerequisites

    To follow this tutorial you need the following components:

    • PHP 7.4 or …
    Read More
  • By Niels Tindbaek
    Future-proof Your Customer Data Infrastructure with Destination Actions Segment Destination Actions header

    This post originally appeared on the Segment blog.

    Now more than ever, customers expect personalized, integrated, and frictionless digital experiences - and it’s rapidly changing how businesses build and adapt their customer data infrastructure.

    Therefore it’s no surprise that businesses are demanding solutions that provide more flexibility, visibility, and control over how they collect and integrate their customer data.

    Achieve your goals today and adapt for the future

    We’ve discussed the shift in how businesses adopt and deploy software, moving away from the “build or buy” mentality to a combined model of implementing customizable infrastructure building blocks that allow for adaptability. Businesses are also becoming increasingly aware that flexibility is crucial to future-proofing their data integration strategy and meeting the needs of customers in this evolving landscape.

    Whether you choose to build, buy, or some combination of the two, a future-proof data infrastructure will meet your company’s needs today …

    Read More
  • By Treasure Porth
    Send an SMS with Vue and Twilio Functions smsvue.png

    In this article you’ll learn how to send an SMS using Vue 3 on the front end and Twilio Functions on the backend. Because Vue is a front end framework, you’ll use Twilio functions to handle sending a message and to avoid exposing your Twilio credentials.

    To demonstrate these concepts, you’ll build a Vue app with a button. When the button is clicked, a POST request will be made to your API. The API will send a message and then return a response back to your Vue application.

    Prerequisites

    In order to follow along with this tutorial, you’ll need these tools and technologies:

    Create your API with Twilio Functions

    Create a new Function Service

    Twilio Functions …

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