Send and receive WhatsApp messages
# Add to your .env.local file:
WHATSAPP_TOKEN=EAAGm0P...
WHATSAPP_PHONE_NUMBER_ID=123456789012345
WHATSAPP_VERIFY_TOKEN=your_random_string| Variable | Description | Example |
|---|---|---|
| WHATSAPP_TOKEN | Permanent access token | EAAGm0P... |
| WHATSAPP_PHONE_NUMBER_ID | Your WhatsApp phone number ID | 123456789012345 |
| WHATSAPP_VERIFY_TOKEN | Webhook verification token (you create this) | my_secret_token |
After completing setup, try this prompt in Claude Code:
"Send a test WhatsApp message to my number"