What is Twilio?
Twilio lets you send text messages (SMS), make phone calls, and even send WhatsApp messages from your app. It’s the most popular service for adding phone/SMS features. Perfect for:- SMS notifications and alerts
- Two-factor authentication (2FA)
- Phone verification
- Order updates
- Appointment reminders
What You’ll Need
Twilio Account
Sign up at twilio.com - free trial available!
Step 1: Get Your Twilio Credentials
Create Account
- Go to twilio.com/try-twilio
- Sign up for free
- Verify your email and phone
- You get $15 free credit!
Get a Phone Number
- In Twilio Console
- Go to Phone Numbers → Manage → Buy a number
- Select your country
- Check: SMS (and Voice if needed)
- Click Buy (uses your free credit)
- Copy your new phone number
Get Your API Credentials
On the Twilio dashboard, you’ll see:Account SID
Starts with:
ACExample: ACxxxxxxxxIdentifies your accountAuth Token
Random stringSecret! Keep it safeClick to reveal it
Trial Account Limits: You can only send to verified phone numbers. Upgrade to send to anyone.
Step 2: Tell the Agent What You Want
Describe what you need:Example 1: SMS Notifications
Example 2: Phone Verification (2FA)
Example 3: Appointment Reminders
Step 3: Test SMS Sending
For Trial Accounts
Verify Your Phone
In Twilio Console → Phone Numbers → Verified Caller IDsAdd your personal phone number
After Upgrade
Once you upgrade (add payment method), you can send to any phone number!Step 4: Go Live (Upgrade Account)
To send to anyone (not just verified numbers):Common Questions
How much does Twilio cost?
How much does Twilio cost?
Very affordable!SMS (US): ~$0.0079 per message
- 100 messages = $0.79
- 1,000 messages = $7.90
Can I send WhatsApp messages?
Can I send WhatsApp messages?
Yes! Tell the agent:(Requires Twilio WhatsApp sandbox or approved business account)
Users say they don't receive SMS. What's wrong?
Users say they don't receive SMS. What's wrong?
Tell the agent:
Can I customize the sender name?
Can I customize the sender name?
In some countries, yes. Tell the agent:(Availability depends on country)
Something Not Working?
SMS Not Sending
Tell the agent:“Unverified Number” Error
Tell the agent:Wrong Phone Format
Tell the agent:Real Examples
Example 1: E-commerce Order Updates
Example 2: Two-Factor Authentication
Example 3: Booking Reminders
Advanced Features
Once basic SMS works:Delivery Tracking
Two-Way SMS
Scheduled Messages
Quick Checklist
Before going live:- Tested SMS on verified number
- Messages arrive within seconds
- Text format looks good
- Links work (if included)
- Phone validation works
- Upgraded account (if sending to all numbers)
- Set spending limits in Twilio
Remember
Free trial includes $15 credit - Good for ~2,000 SMS Very affordable - Most apps spend under $20/month Upgrade to reach everyone - Trial only sends to verified numbers Track delivery - Know if messages were received Set spending limits - Avoid surprise billsStuck? Tell the agent: “I need help with Twilio SMS” and explain what’s not working.