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.
![](../__attachments/3904997068/att_3_for_3898474508.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
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.
![](../__attachments/3904997068/att_1_for_3898474508.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Your Primary and Secondary Token will be shown as displayed. Click the lock button to show the authorization token.
![](../__attachments/3904997068/att_2_for_3898474508.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
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.
![](../__attachments/3904997068/att_5_for_3898474508.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
The new Subaccount will be shown as displayed.
![](../__attachments/3904997068/att_4_for_3898474508.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
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.
![](../__attachments/3904997068/att_6_for_3898474508.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Buy additional numbers for your account on the Buy A Number page.
![](../__attachments/3904997068/att_7_for_3898474508.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)