# Twilio

To be able to make use of the phone verification system, you are required to have an account with an SMS Gateway Provider. Twilio is an SMS/Phone Call gateway provider, which will help you send out the SMS messages or Phone Calls to your potential clients to help them verify their WHMCS account.

## Features

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td>Customizable SMS Content</td><td></td><td></td><td></td></tr><tr><td>6 Digit SMS Verification</td><td></td><td></td><td></td></tr><tr><td>4 Digit Phone Call Verification</td><td></td><td></td><td></td></tr><tr><td>Customizable Voice Call (Twimlets)</td><td></td><td></td><td></td></tr></tbody></table>

## Requirements

* Requires a dedicated Twilio outgoing number
* Twilio Account SID
* Twilio AUTH Token
* Countries need to be unlocked need to be selected for SMS or Voice Call Verification

## Steps

{% hint style="info" %}
Make sure that the number you are testing is verified and added to <https://console.twilio.com/us1/develop/phone-numbers/manage/verified>
{% endhint %}

* Go to [https://www.twilio.com](https://www.twilio.com/) and click on the signup button, proceed with the signing up process and verify your email address and mobile number
* Upon accessing the Twilio Console at [https://console.twilio.com](https://console.twilio.com/) you will be able to see your Account SID and Auth Token. These two values respectively are to be entered into the module settings.
* Then head to <https://console.twilio.com/us1/develop/phone-numbers/manage/incoming> and see if you have any active numbers in the account, if you do, remove any spaces and dashes and then use that number in the module settings.
* If you do not have a number, you can buy a number by visiting the link [here](https://console.twilio.com/us1/develop/phone-numbers/manage/search?frameUrl=%2Fconsole%2Fphone-numbers%2Fsearch%3Fx-target-region%3Dus1\&currentFrameUrl=%2Fconsole%2Fphone-numbers%2Fsearch%3FisoCountry%3DAE%26searchTerm%3D%26searchFilter%3Dleft%26searchType%3Dnumber%26x-target-region%3Dus1%26__override_layout__%3Dembed%26bifrost%3Dtrue) then take your newly ordered number and remove any spaces and dashes and then use that number in the module settings.
* For SMS, head to <https://console.twilio.com/us1/develop/sms/settings/geo-permissions> to manage your messaging geographic permissions and enable the countries required. Select all the countries to avoid facing difficulties with SMS delivery.
* For Phone Call Verification, head to [this page](https://console.twilio.com/us1/develop/voice/settings/geo-permissions?frameUrl=%2Fconsole%2Fvoice%2Fcalls%2Fgeo-permissions%3Fx-target-region%3Dus1\&currentFrameUrl=%2Fconsole%2Fvoice%2Fcalls%2Fgeo-permissions%2Flow-risk%3F__override_layout__%3Dembed%26x-target-region%3Dus1%26bifrost%3Dtrue) to manage your voice geographic permissions and enable the countries required. Select all the countries to avoid facing difficulties in verification calls. Some countries require you to request access manually.

## Customization

#### Twilio Voice Call Verification

* To be added

#### SMS Verification Message Content

* To be added
