Twilio WhatsApp Setup
Connect WhatsApp Business using Twilio as your provider.
Why Twilio?
| Feature | Twilio | Meta Direct |
|---|---|---|
| Setup complexity | Easier | More complex |
| Pricing | Per message | Free (API access) |
| Phone number | Twilio provides | You provide |
| Support | Twilio support | Meta support |
| Templates | Via Twilio | Via Meta |
Choose Twilio if you:
- Want simpler setup
- Already use Twilio
- Need Twilio's support
- Prefer consolidated billing
Prerequisites
- Twilio account (sign up)
- Business name and info
- Approved WhatsApp Business profile
Step 1: Create Twilio Account
- Go to twilio.com
- Sign up for an account
- Verify your email and phone
- Complete account setup
Step 2: Enable WhatsApp
Request Access
- Go to Messaging → Try it out → Send a WhatsApp message
- Click Get Started
- Follow the WhatsApp sandbox setup for testing
Go to Production
For production:
- Go to Messaging → Settings → WhatsApp senders
- Click Add new sender
- Submit your business for WhatsApp approval
Business Profile Approval
Meta must approve your business profile:
| Field | Requirement |
|---|---|
| Display name | Business name |
| Category | Business type |
| Description | What you do |
| Website | Business website |
Approval takes 1-5 business days.
Step 3: Get Twilio Credentials
Account SID and Auth Token
- Go to your Twilio Console
- On the dashboard, find:
- Account SID (starts with AC...)
- Auth Token (click to reveal)
- Copy these for later
WhatsApp Number
Once approved:
- Go to Messaging → Settings → WhatsApp senders
- Find your WhatsApp phone number
- Copy the number (e.g.,
+1415XXXXXXX)
Step 4: Configure Webhook
Set Webhook URL
- In Twilio Console, go to Messaging → Settings → WhatsApp senders
- Click on your WhatsApp number
- Under Webhook URL, enter:
https://api.fyncall.com/api/v1/webhooks/twilio - Set HTTP Method to POST
- Save
Status Callback (Optional)
For delivery receipts:
https://api.fyncall.com/api/v1/webhooks/twilio/status
Step 5: Connect in Fyncall
- Go to Settings → Channels → WhatsApp
- Click Connect WhatsApp → Twilio
- Enter your credentials:
- Account SID
- Auth Token
- WhatsApp Phone Number
- Click Connect
- Test by sending a message
Step 6: Configure Your Sender
Business Profile
Configure in Twilio:
- Go to WhatsApp Senders
- Click your number
- Edit Business Profile:
- Display name
- Logo
- Description
- Category
Messaging Settings
| Setting | Recommendation |
|---|---|
| Opt-out handling | Enable |
| Status callback | Enable |
| Validity period | 24 hours |
Template Messages
Create Template
- Go to Messaging → Content Template Builder
- Click Create template
- Fill in:
- Template name
- Category
- Language
- Content with variables
Template Format
Hello {{1}},
Your order {{2}} has shipped!
Tracking: {{3}}
- The {{4}} Team
Submit for Approval
Templates are submitted to Meta via Twilio and typically approved within 24-48 hours.
Testing
Sandbox Testing
Before approval, test with Twilio Sandbox:
- Send
join <sandbox-keyword>to Twilio sandbox number - Test sending and receiving
- Verify webhook is working
Production Testing
After approval:
- Send a message to your WhatsApp number
- Check it appears in Fyncall inbox
- Reply and verify customer receives it
Pricing
Twilio pricing includes:
| Component | Cost |
|---|---|
| WhatsApp number | ~$1/month |
| Outbound messages | ~$0.005-0.05 per message |
| Inbound messages | ~$0.005 per message |
See Twilio pricing page for current rates.
Troubleshooting
Messages Not Received
- Check webhook URL is correct
- Verify Twilio credentials
- Check Twilio console for errors
- Ensure phone number is approved
Cannot Send Messages
- Verify 24-hour window or use template
- Check account has credit
- Verify sender is approved
- Check for content policy violations
Template Rejected
Common rejection reasons:
- Promotional content in utility template
- Missing opt-out option
- Misleading content
- Variable placeholders missing
Next Steps
- Message Templates - Create and manage templates
- Meta Setup - Alternative setup option