Sending SMS with Twilio
Last updated
Last updated
Backbench account - , the personal account will always remain free to use.
Twilio account - Its free to Sign Up and trial account would be sufficient to try this example. Twilio gives you one number for free to send text messages from. You can only text or call the pre-verified numbers. If you want to test with more numbers, you'll need to verify each one. The restriction is lifted when you upgrade the account.
Sign In to Backbench account.
Select +, in the upper right corner to create a Bench. For example, say "bench_one" and select CREATE or hit Enter.
Select +, in the upper right corner of file manager to create a html file. For example, say "index.html" and select CREATE or hit Enter.
Copy and paste the code module from below.
Select save.
Only for nodejs. Create a module package.json
and paste following code.
Select +, in the upper right corner to create a Module. For example, say "send_sms.js" and select CREATE or hit Enter.
Copy and paste the code module from below.
Replace ACCOUNTSID with your accountsid(Dashboard).
Replace AUTHTOKEN with your AuthToken(Dashboard).
Replace TWILIO NUMBER with the generated number from Twilio account.
Select save.