The SmartWiFiPlatform integrates with Twilio for SMS two factor authentication logins as well as SMS marketing campaigns. If you have your own Twilio account, please contact us and we can connect your account to your Hotspots so you can start gathering SMS numbers!
To complete configuration you will need the following information from your Twilio and SmartWiFi accounts:
- Hotspot Environment
- Twilio Account SID
- Twilio Auth Token
- Twilio SMS-enabled Phone Number
- SmartWiFi API Token
You will need to make the follow changes to your Twilio account:
- Login to your Twilio account and go to https://www.twilio.com/console/sms/services
- Click the ‘Create Message Service’ button
- Give the service a name and for use case select ‘Not listed here’.
- After creating a messaging service you will be redirected to it’s Sender Pool. You will need to add the Twilio number configured to the Smart WiFi Platform to the messaging service. Click ‘Add Senders’, select the correct sender type for your account and press continue. Check the box for the desired number and press ‘Add Phone Numbers’ & Confirm.
- Now click on the Integration tab for your messaging service.
Select ‘Send a Webhook’ and fill in the request URL as an HTTP POST with the API URL for your environment replacing <token> with your API token from the Client Customization page. Save the page when complete.- US-A POST URL
- US-B POST URL
https://api.smartwifiplatform.com/v3/twilio/inbound?api_token=<token>
https://api-usb.smartwifiplatform.com/v3/twilio/inbound?api_token=<token>
- Press Save
You will need to make the following changes in the SmartWiFi dashboard.
In the dashboard go to Client Settings> Client Customization and select the branding tab.
Enter your Twilio account information into the correct fields. After submitting the page you can use the ‘Send Test SMS’ button to test your Twilio configuration.