Twilio Ruby Helper Library


Just install the gem!

$ gem install twilio-ruby

Getting Started

The Quickstart will get you up and running in a few quick minutes. This guide assumes you understand the core concepts of Twilio. If you’ve never used Twilio before, don’t fret! Just read about how Twilio works and then jump in!

User Guide

Functionality is split over three different sub-packages within twilio-ruby. Below are in-depth guides to specific portions of the library.


Query the Twilio TaskRouter API to set up workspaces and task routing, and create capability tokens to authorize your client-side code to safely update state.


Query the Lookups API to get information about phone numbers and their carriers.


Generates valid TwiML for controlling and manipulating phone calls.


Small functions useful for validating requests are coming from Twilio

Frequently Asked Questions

What to do if you get an ImportError, and some advice about how to format phone numbers.


See the <no title> for version history.

Support and Development

All development occurs over on Github. To checkout the source,

$ git clone

Report bugs using the Github issue tracker.

If you have questions that aren’t answered by this documentation, ask the #twilio IRC channel