Twilio
  • How It Works
  • Pricing
  • Gallery
  • Help
  • Jobs
  • Docs
  • Free Trial
  • Login
  • Docs Home
  • Quickstart Tutorials
    • Handle Incoming Calls
      1. Say a Message
      2. Greet Caller By Name
      3. Play MP3 for Caller
      4. Connect Call to Second Person
      5. Record Caller's Voice
    • Make Outgoing Calls
      1. Preparing a Call
      2. Making an Outbound Call
      3. Viewing Call Records
    • Twilio Client
      1. Hello Monkey Client
      2. Hang Up Calls in the Browser
      3. Receive Incoming Calls in the Browser
      4. Make Outgoing Calls from the Browser
      5. Browser-to-Browser Calls
      6. Displaying Availability
    • Send and Receive SMS
      1. Receiving Incoming Text Messages
      2. Replying to Incoming Messages
      3. Sending SMS Messages
      4. Tracking Conversations
      5. Sending SMS via TwiML
    • Twilio Connect
  • HowTo's and Examples
  • Helper Libraries
  • TwiML Reference
  • REST API Reference
  • Client Reference
  • Connect Reference
  • Debugging Errors
  • Security
  • Availability & Reliability

REST Quickstart

Overview

The goal of this quickstart is to build an application that initiates an outgoing phone call and gets a list of previous calls using the Twilio REST API. The Twilio REST API allows you to make outgoing calls and query meta-data about your account such as phone numbers, calls, and recordings.

Code

You can download the (minimal) code used in this example if you want:

  • tar.gz: rest.tar.gz
  • zip: rest.zip

Next: Initiating an Outgoing Call

  • Home
  • Tour
  • Pricing
  • International Rates
  • Twilio Labs
  • Documentation
  • Quickstart Guide
  • HowTo's
  • Helper Libraries
  • FAQ
  • Forum
  • About Us
  • Jobs
  • Blog
  • Engineering Blog
  • Twitter
  • YouTube
  • Legal
  • Privacy Policy
  • Terms of Service
  • Acceptable Use Policy
  • Contact Us
  • Twilio Inc.
  • Support: help@twilio.com
  • Sales: Contact form
  • Copyright 2012 Twilio. All rights reserved. Patents Pending. Twilio, TwiML, and OpenVBX are trademarks of Twilio, Inc.