Overview
WhatsApp Business API enables direct customer communication on WhatsApp with:- Real-time messaging
- Global reach (2+ billion users)
- Rich media support
- Message templates
- Delivery receipts
Key Features
| Feature | Description |
|---|---|
| Business Profile | Display business info (address, website, email) |
| Message Templates | Pre-approved messages for initiating conversations |
| Rich Media | Images, documents, videos, audio |
| Interactive Messages | Buttons, lists, quick replies |
| Delivery Status | Real-time delivery and read receipts |
Getting Started
Prerequisites
- Meta Business Account
- Business verification with Meta
- WhatsApp Business Account (WABA)
- Phone number for WhatsApp
Setup Process
- Create WABA: Through Plivo’s embedded signup flow
- Verify Business: Complete Meta business verification
- Register Phone Number: Use existing or rent from Plivo
- Configure Display Name: Set business name for WhatsApp
- Create Templates: Submit templates for approval
- Integrate API: Connect your systems
WhatsApp Business Account (WABA)
What is WABA?
A WhatsApp Business Account contains:- Your phone numbers
- Message templates
- Business profile
- Messaging configuration
Business Verification
Complete Meta business verification to:- Improve WABA approval chances
- Get higher messaging limits
- Get higher phone number limits
- Display verified business name
Phone Number Requirements
Requirements
- Must receive OTP via SMS or voice call
- Will be visible to customers on WhatsApp
- One number per WhatsApp registration
Options
| Option | Description |
|---|---|
| Rent from Plivo | Use Plivo phone number (where available) |
| Bring your own | Use existing number |
| Migrate | Transfer from another provider |
Number Migration
If you have a number registered with another WhatsApp provider:- Request migration through Plivo
- Follow Meta’s migration requirements
- Number transfers to your new WABA
Display Name
The business display name appears in:- Chat thread headers
- Chat lists
- Business profile
Requirements
- Business must complete Meta verification
- Display name approved by Meta
- Set during embedded signup flow
Change Display Name
Contact Plivo support to update your display name after initial setup.Message Types
Template Messages
Required to initiate conversations.| Template Type | Use Case |
|---|---|
| Authentication | OTPs, verification codes |
| Utility | Order updates, shipping notifications |
| Marketing | Promotions, offers, announcements |
Session Messages
After customer responds, you have a 24-hour window to send free-form messages without templates.Supported Content
- Text messages
- Images
- Documents
- Videos
- Audio
- Interactive buttons
- List messages
Message Templates
Template Approval
Templates must be approved by Meta before use. Status flow:- Submitted → Pending review
- Approved → Active (Quality pending)
- Rejected → Edit and resubmit or appeal
Create Templates
Templates are created through Meta’s WhatsApp Manager:- Access WhatsApp Manager
- Navigate to Message Templates
- Create template with required components
- Submit for approval
Template Guidelines
- Follow Meta’s content policies
- Use correct categorization
- Include required variables
- Avoid prohibited content
View Templates
View your templates in the Plivo console: Messaging > WhatsApp > TemplatesAPI Integration
Send Messages
Use Plivo’s existing Messaging endpoint:Webhooks
Configure webhooks at WABA level:- Navigate to WhatsApp settings
- Set webhook URL
- Select events to receive
- Save configuration
SDKs
Use Plivo’s Server SDKs for WhatsApp integration:- Node.js
- Python
- Ruby
- PHP
- Java
- .NET
- Go
Monitoring and Logs
View Messages
- Navigate to Messaging > Logs
- Filter by WhatsApp messages
- View delivery status, pricing, destination
Log Details
| Field | Description |
|---|---|
| Message UUID | Unique identifier |
| Status | Delivery status |
| Destination | Recipient number |
| Price | Message cost |
| Callbacks | Status updates received |
Export Logs
Download logs at:- Individual message level
- Aggregate by time duration
Troubleshooting
Common Issues
| Issue | Solution |
|---|---|
| Template rejected | Review guidelines, edit and resubmit |
| Message not delivered | Check error code, verify number |
| WABA not approved | Complete business verification |
| Number migration failed | Verify requirements met |
Error Codes
Review Plivo error codes for detailed descriptions and next steps.Support
For unresolved issues:- Note the message UUID
- Gather relevant details
- Contact Plivo Support