Twilio
Set up your Enveloop account to use Twilio as a backend message provider for text/sms messages.
Last updated
Set up your Enveloop account to use Twilio as a backend message provider for text/sms messages.
Last updated
The first step will be to make sure that you have a Twilio account set up. This documentation doesn't highlight how to do this, but we'll step you through everything else.
If you already have Twilio set up with mobile numbers and API keys, you can skip this part. 💪
After setting up your account at Twilio, the first thing you will do is create a phone number. You can create a toll-free number for initial testing. (Note: When using a Twilio free telephone number, all your SMS messages will be prefixed with "Sent from your Twilio trial account")
Creating a local telephone number will require additional regulatory steps (to ensure you are not spam).
When you create your Twilio account, Twilio creates these credentials for you. In the normal process, they are located on your dashboard.
Each project (which represents one of your apps) can have its own message settings. So, choose a Project and in the menu, choose Integrations from the options on the left.
Please note: Enveloop provides you a small amount of test message credits to explore SMS use with Enveloop. However, once you want to configure your Twilio account and telephone numbers with Enveloop, you'll need to upgrade to our "Starter" plan.
Add the Twilio values (SID, Token, Telephone Number) to your project's integration settings. If you only have one number, it will automatically be populated once you add your SID and token.
Save the integration and you are successfully set up. Now, return to your templates, select an SMS template, and you'll notice your Default From Number is populated with your Twilio telephone number.
Once you have your SMS template created, you can choose to Publish it. Once published, click the Deploy tab in Enveloop, copy the cURL command, and execute the command in your local terminal.
Remember: The default cURL command in Enveloop uses a test/sandbox API key. So, you will see the results in the Enveloop Message Log, under Sandbox.
If you want to test sending an actual message to a mobile device, go to Settings for your project and copy/paste your Production/Live key into your cURL command. Send your message again and it will arrive at the telephone number in the to
field momentarily.