Third-Party Integrations: Twilio

The Twilio integration enables you to verify phone numbers, and works alongside the Twilio channel.

Contents

Activate or Deactivate Integration

The Twilio integration is disabled by default and needs to be activated before use.

  1. Visit Settings -> General -> Third-Party Integrations.
  2. Find the Twilio integration and click the "Activate" link located on the left of the table.
  3. The page will reload confirming the integration has been activated.

The integration can be deactivated by following the above process, but using the "Deactivate" link instead.

Integration Settings

To configure the Twilio integration, follow the steps below:

  1. Sign up for a Twilio account.
  2. Browse to the Console in your Twilio account.
  3. Scroll down to the Account Info section and make a note of the Account SID and Auth Token values.
    Twilio Project Information
  4. Click on "Settings" under Twilio on the third-party integrations page.
    Twilio Third-Party Integration
  5. Enter the Account SID and Auth Token into the SupportPal integration settings.
    Twilio Third-Party Integration Settings
  6. In Twilio, click on the "Go to API Keys" link, then click "Create API key".
    Twilio Third-Party Integration Settings
  7. Enter a Friendly name and make sure the Region is set to United States, then click "Create".
    Twilio Third-Party Integration Settings
  8. The page will load with the API Key SID and secret, enter these into the API Key and API Secret fields into the SupportPal integration settings.
    Twilio Third-Party Integration
    Twilio Third-Party Integration

Phone Number Verification

It is possible to allow users to verify their own phone numbers. This feature is optional and not required to use the Twilio channel.

Follow the steps to configure phone number verification:

  1. In Twilio, search for "Verify" and click on "Verify Services".
    Twilio Verify Services
  2. Click "Create new".
    Twilio Verify Create Button
  3. Give the service a name, check the "Authorize the use of friendly name" checkbox, enable SMS and Voice as the Verification Channels and click "Continue".
    Twilio Verify Create Service
  4. Check "Yes" on the Enable Fraud Guard screen and click "Continue".
    Twilio Verify Create Service Step 2
  5. The service will be created and you'll see a Service SID on the screen. Enter the Service SID in the "Verify SID" text field in the SupportPal integration settings.
  6. In the "Verify Allowed Countries" field, select the countries you wish to permit users to be able to verify their own numbers. We recommend keeping this list small to avoid the risk of potential abuse.
    SupportPal Twilio Integration Settings
  7. Click "Save".