Send messages when you’re back online with Service Workers and Background Sync

When you send an SMS message but your phone doesn’t have great signal it will continue to try to send the message in the background, even if you close the app. Pretty useful right? In this post we’re going to see how to replicate this behaviour in a web application using the Background Sync API from the Service Worker. What we need To demonstrate the Background Sync… Read More

Google Spreadsheets and Python

This post is inspired by Patrick McKenzie’s reminder that sometimes you don’t need a database: So if you’re building out a quick CRUD app for e.g. internal use, Google Docs as a backend (consumed via JSON) is *surprisingly* powerful. — Patrick McKenzie (@patio11) July 5, 2014 In this tutorial, we’ll use Anton Burnashev’s excellent gspread Python package to read, write, and delete data from a Google Spreadsheet with… Read More

Easily Make API Calls to Any Twilio Product Using the New API Explorer

When we launched the API Explorer in 2011, it was part of a new breed: a web-based tool that developers could use to make real requests to Twilio’s REST API. It helped developers learn about the nuances of Twilio’s API and even helped many non-developers get their first exposure to coding. However, the API Explorer was hand-coded and as Twilio accelerated the pace at which it… Read More

Add a Little AI to Your Love Letters This Valentine’s Day

Happy Valentine’s Day everyone! There is a lot of love floating around today and you might be looking for a way to tell that special someone exactly what you think of them through the power of prose. If Shakespeare isn’t your thing, Michael Jordan (of Gifted) is back with another artificially intelligent hack that will help you say all the right things today. You can give it a… Read More

How to Build Your First Slack Bot in 5 Minutes using PHP

So you want to build a Slack bot using PHP? You’re in the right place. This blog post will walk you through building your first Slack bot using PHP in 5 minutes. The clock is ticking, let’s get started. Creating Our Bot Before we write any code, we need to configure our Slack bot within our Slack team. Head over to https://[yourslackteam] and then click “Bots”…. Read More

New Phone Numbers in Malaysia & Developer Preview Numbers in 11 Countries

We’re always working hard to expand our global coverage, and today, we’re excited to announce that you can now use local and mobile Malaysian numbers to make calls and send messages. With a local phone number, your business can have a locally-relevant identity and your customers can reach you on a familiar, geographic prefix. Mobile numbers with voice or sms capability allow your customers to communicate… Read More

Resurrecting Shakespeare using Node, Express, Twilio Add-Ons, IBM Watson and Love

Valentine’s day isn’t my favorite holiday, mostly because I never seem to get my act together before the big day. But even though the holiday leaves me confused and clueless, the thought of adding a little more love into the world never does. So this year, instead of planning a wonderful night (like maybe I should have done?), I instead opened my laptop and decided to… Read More

SIGNAL 2017: Ahoy, World!

Today, we’re launching open ticket registration for SIGNAL 2017, the developer conference by Twilio, happening on May 24th & 25th at Pier 27 in San Francisco. We’re incredibly excited to see you there. To understand our excitement, let’s go back in time briefly. This week seven years ago, we launched our second product: Programmable SMS. Since then, you’ve built Twilio-powered creations beyond our imagination. You registered… Read More

Take More Control of Outbound Messages Using Validity Period

Better late than never…or is it? For some applications, it may be better for a message to fail completely than to arrive late. Now you have more control over your messages using  validity period. This period dictates how long you want Twilio to try to deliver your messages before failing with an error. Imagine you subscribe to SMS traffic alerts for your daily evening commute home…. Read More