fetch.
Prerequisites
Create Meta Developer Account
Go to Meta Developer Portal and create a new app with WhatsApp integration.
Get Credentials
From the WhatsApp section of your app dashboard, get your Access Token and Phone Number ID.
Quick Start
Config
WhatsApp Business API access token. Falls back to
WHATSAPP_ACCESS_TOKEN env var.WhatsApp Business phone number ID. Falls back to
WHATSAPP_PHONE_NUMBER_ID env var.API version. Falls back to
WHATSAPP_VERSION env var.Default recipient WhatsApp ID (e.g.
"919876543210"). Falls back to WHATSAPP_RECIPIENT_WAID env var.Tools
| Tool | Description |
|---|---|
whatsapp_send_text | Send a text message. Parameters: text, recipient (optional), previewUrl (optional). |
whatsapp_send_template | Send a template message. Parameters: templateName, recipient (optional), languageCode (default "en_US"), components (optional). |