Twilio makes sending audio messages from your application to a telephone easy. Let’s go through a simple example of how to initiate a call to a phone number and play a message when the call is answered First, we will need a simple TwiML document to play the message. <!– http://my.example.com/sayMsg.xml –> <Response> <Say>Hello! This was a message sent by Twilio</Say> </Response> Save the text of… Read More
It’s only been three days since we launched, and we’ve already heard of some great applications in the works out there. So today we’re announcing the “First Five Live” contest… it’s very simple: The first five developers to email firstname.lastname@example.org with a brief description and link to a live application they built on Twilio will win a $50 service credit from Twilio. You’ll also be featured in… Read More
Several people have asked for an example for initiating a call using ColdFusion and the Twilio Voice API. Here you go! Replace the parameters in the cfset statements, of course. <!— Start a call from coldfusion —> <!— enter your information for the following parameters —> <cfset accountSid=”yourAccountSid”> <cfset secret=”yourSecretKey”> <cfset caller=”yourVerifiedCallerId”> <cfset called=”phonenumberToCall”> <cfset action_url=”urlToExecute”> <!— make the rest request —> <cfhttp url=”https://api.twilio.com/2008-08-01/Accounts/#accountSid#/Calls” method=”POST” username=”#accountSid#”… Read More
One of the very simplest things to do with Twilio is to provide simple static audio messages to callers. You could use this for things like a Dial-a-song, or business hours, or daily work site instructions. All you need is a little space on a dumb web host and the following bit of XML. <Response> <Say> Today’s Worksite – November 20th. Meet at 480 Frederick St… Read More
Welcome to Twilio’s blog! Everyone likes blogs. What are we going to talk about here? Almost certainly us, our products and features, advice and tutorials, service announcements, and musings on the relevant topics of the day. We’ll do our best to keep it informative and interesting.
Our simple API lets you build voice applications using basic web development skills. The Rick Roller was something we built for kicks using Twilio and PHP. You can learn all about it and some more, shall we say, productive uses for Twilio when we launch soon. In the meantime, Rick Roll your friends via phone. Send a text message to 41411 with the word rick followed… Read More