Twilio WhatsApp Business
This provider sends WhatsApp messages generated using Twilio’s Content Template Builder. It’s designed for sending pre-approved template messages with dynamic variables.Configuration
Database Setup
Create a new entry in thenotify_providers table with the following settings:
| Field | Value |
|---|---|
channel_type | 7 (Twilio WhatsApp Business) |
is_enabled | 1 |
Configuration Fields
Twilio account SID
Twilio auth token
Request Format
Sample Request Body
Request Fields
The Content SID from Twilio Content Template Builder
The Messaging Service SID (starts with MG)
Recipient’s WhatsApp phone number in E.164 format
Template variables as key-value pairs. Keys are numbered positions, values are strings.
All values in
contentVariables must be strings, even for numbers (e.g., "52" not 52).Dependencies
| Package | Version | Description |
|---|---|---|
| twilio | ^5.8.0 | Twilio client for messaging |