SMS provider: Twilio
Overview
This page guides you to:
How to get the account SID and authorization token
How to create Sub Account
How to get a Twilio number
How to get an account SID and authorization token
An account SID and an authorization token are both required to build an application that integrates with Twilio using our API.
Sign up for a Twilio account and log in. https://www.twilio.com.
Once your account is verified and has a phone number, go to your Account page. In the submenu, click on API keys & tokens.
Scroll down to Auth Tokens and your live credentials (Account SID & Auth Token) will be shown as displayed. Click the lock button to show the authorization token.
The account SID and authorization token are now displayed.
There is only one Auth Token by default, so you should avoid sharing this Auth Token to minimize the risk of it becoming compromised. If the Auth Token is compromised for some reason, rotate it by creating a secondary Auth Token, just click Request a Secondary token beside the Auth token.
Your Primary and Secondary Token will be shown as displayed. Click the lock button to show the authorization token.
How to create a subaccount
Subaccounts are just like accounts, but they are owned and can be managed by the parent account. Instead of using the Auth Tokens of the parent account, you can use the Auth Tokens of the subaccount. If the auth token of the subaccount is compromised, the token cannot be used to access resources of the parent account or other subaccounts.
Go to your Account page. In the submenu, click on Subaccounts then create new subaccount.
Enter Friendly name then click the Create button.
The new Subaccount will be shown as displayed.
How to get a Twilio number
Signup for a Twilio account and log in. https://www.twilio.com.
Initially, your account will be associated with a phone number already. You can choose to release your initial number and buy a new one if you upgrade your account.
View your number/s by going to the Manage page then select Active numbers from the submenu.
Buy additional numbers for your account on the Buy A Number page.