The Twilio module provides integration with the Twilio cloud communication platform allowing for your Drupal site to integration Voice and SMS functionality.
The module currently provides the following functionality:
- Ability to store and access TwiML
- Rules event to act on incoming SMS message
- Rules action to send an SMS message
- Rules event to execute TwiML scripts
- Hook for incoming SMS messages
- Hook for incoming voice calls
- User object phone number storage and validation
- Uses libraries api to manage the Twilio php library
- Support for international texting
- Support for MMS
Dependencies
- Libraries API (Drupal 7 only)
Installation
- Install the Twilio module as per usual (http://drupal.org/node/895232/)
- Drupal 7: Download the 4.x Twilio php library from (https://github.com/twilio/twilio-php/archive/4.11.0.tar.gz) and extract the file into your sites/all/libraries folder.
- Rename the extracted folder from 'twilio-php-latest' to 'twilio'.
- Drupal 8,9 & 10: Add the library via the composer composer require twilio/sdk
- Visit 'admin/config/system/twilio' and enter your Twilio account SID, Auth Token, and Phone number found on the Twilio dashboard
Short name
twilio
Supporting organizations
D8 Development
D9 Development
D11 Development