---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/libraries/salesforce#article
headline: The Twilio Salesforce Helper Library
description: The twilio-salesforce helper library lets you write Apex code to make HTTP requests to the Twilio API.
url: https://www.twilio.com/docs/libraries/salesforce
inLanguage: en
dateModified: 2026-03-09T18:47:22.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# The Twilio Salesforce Helper Library

> \[!CAUTION]
>
> 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](/docs/salesforce) which includes an updated helper library.

The [twilio-salesforce][github-project] helper library lets you write Apex code
to make HTTP requests to the [Twilio API](/docs/usage/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][github-project]
hosted on [Github][github].

* [More Documentation](#more-documentation)
* [Installation](#installation)
* [Using the Library](#using)
* [Getting Help](#help)

## More Documentation \[#more-documentation]

Refer to the
[Twilio for Salesforce documentation](/docs/salesforce) for more details about
the functions and classes contained in the library.

## Installation \[#installation]

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

### Quick Install

If you do not have the existing Twilio-Salesforce library installed, you can use
[this unmanaged package][package] 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][github-project] library from
   GitHub.

```sh
git clone git@github.com:twilio/twilio-salesforce.git
```

1. Install the [Force.com Migration Tool][migration-tool] 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][append-token] to your password.
3. Open your command line to the `install` folder, then deploy using Ant:

```sh
ant deployTwilio
```

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

## Using the Module \[#using]

Refer to the [Twilio for Salesforce documentation](/docs/salesforce) for
details about the classes and methods contained in the library.

## Getting Help \[#help]

Still running into problems?

* [Report a problem][support] with this tutorial, or
  [contact our support team][support]
* [Report an issue](https://github.com/twilio/twilio-salesforce/issues/new) with the
  twilio-salesforce library on Github
* [Submit a feature request](https://github.com/twilio/twilio-salesforce/issues/new)
  for twilio-salesforce on Github

[support]: /help/contact

[github-project]: https://github.com/twilio/twilio-salesforce

[github]: https://github.com/twilio

[package]: https://login.salesforce.com/packaging/installPackage.apexp?p0=04ti0000000XkE0

[migration-tool]: https://www.salesforce.com/us/developer/docs/daas/Content/forcemigrationtool_install.htm

[append-token]: https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_concepts_security.htm#topic-title_login_token
