Skip to contentSkip to navigationSkip to topbar
On this page

The Twilio Salesforce Helper Library


(error)

Danger

The Twilio Salesforce Helper Library is no longer actively maintained. You may encounter difficulties when using it with some features of Twilio's API. Instead, see the Twilio for Salesforce package which includes an updated helper library.

The twilio-salesforce(link takes you to an external page) helper library lets you write Apex code to make HTTP requests to the Twilio API.

This library is open source, so if you find a feature missing or a bug, we encourage you to contribute back to the twilio-salesforce project(link takes you to an external page) hosted on Github(link takes you to an external page).


More Documentation

more-documentation page anchor

Refer to the Twilio for Salesforce documentation for more details about the functions and classes contained in the library.


To get started, grab the code from GitHub and deploy it to your Salesforce org with the included Ant script.

Quick Install

quick-install page anchor

If you do not have the existing Twilio-Salesforce library installed, you can use this unmanaged package(link takes you to an external page) to install.

If you have a previous version of Twilio-Salesforce library installed, you will need to use Ant to install/update:

  1. Checkout or download the twilio-salesforce(link takes you to an external page) library from GitHub.
git clone git@github.com:twilio/twilio-salesforce.git
  1. Install the Force.com Migration Tool(link takes you to an external page) plugin for Ant, if you don't already have it.
  2. Edit install/build.properties to insert your Salesforce username and password. Since you will be using the API to access Salesforce, remember to append your Security Token(link takes you to an external page) to your password.
  3. Open your command line to the install folder, then deploy using Ant:
ant deployTwilio

Now all the library code is in your org and you're ready to start coding!


Using the Module

using page anchor

Refer to the Twilio for Salesforce documentation for details about the classes and methods contained in the library.


Getting Help

help page anchor

Still running into problems?

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.