The twilio.js Library: Twilio in the Browser

Overview

Twilio.js allows you to make voice calls to and from a web browser and a Twilio TwiML Voice Application. This means you can open inbound and outbound audio connections to Twilio for building soft phones, walkie-talkies, conference calls, click-to-talk systems, and more, all from the browser.

Current Twilio.js Releases

Twilio.js is currently available under the following releases:

  • twilio.js 1.4. This is the currently Generally Available (GA) release. It receives regular improvements and bug fixes. This is the release to use for new projects, and the one to upgrade to from older versions.
  • twilio.js 1.3. This release is in maintenance mode. Only security and critical bug fixes are backported to this release. Customers are encouraged to upgrade to the 1.4 release at their convenience. This release will begin its end-of-life process once a new, future minor release of twilio.js, e.g. 1.5, goes live (becomes Generally Available).

Deprecated Twilio.js Releases

The following older releases of twilio.js are deprecated. Customers are strongly encouraged to upgrade to twilio.js 1.4. We have provided a detailed Migration Guide to assist with the upgrade:

  • twilio.js 1.2. This release is deprecated. The end-of-life for twilio.js 1.2 will take place on February 14, 2018. On this date the library will no longer be available on Twilio's CDN, and connections from this version of the library will no longer be accepted.
  • twilio.js 1.1. This release is deprecated. The end-of-life for twilio.js 1.1 will take place on February 14, 2018. On this date the library will no longer be available on Twilio's CDN, and connections from this version of the library will no longer be accepted.

Please use the Migration Guide to upgrade to twilio.js 1.4.

Supported Browsers

twilio.js requires recent versions of Chrome, Firefox, and Safari 11 or greater.

Want to get started right away? Jump right in with our Twilio Client Quickstart!

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.