Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

twilio/freshbooks example

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Rakefile


A sample Freshbooks/Twilio application built to enter the latest Twilio contest and satisfy my own curiousity about the API.

Basically Guido grabs your outstanding invoices and displays a list of customers, giving you the option to click-to-call customers, and add annotations about what transpired on the call.

I profusely apologize for the lack of comments, test cases, and ugly controllers.


You need to pass your API keys and phone number in as environment variables.

export MY_PHONE=your 10 digit phone number export TWILIO_SID=your twilio SID export TWILIO_TOKEN=your twilio token export FRESHBOOKS_URL="" export FRESHBOOKS_TOKEN=your Freshbook API token

or, in Heroku, look at heroku config

Some notes about problems I ran into:

Something went wrong with that request. Please try again.