A command-line interface for testing WhatsApp Business API webhooks and sending messages.
- 📱 Send WhatsApp messages
- 🔄 Test webhook events
- 🛠️ Configure API credentials
- 🔒 Secure storage of configurations
npm install -g whatsapp-cli
- Configure your credentials:
whatsapp config:set phone_number_id "your_phone_number_id"
whatsapp config:set access_token "your_access_token"
whatsapp config:set webhook_url "https://example.com/webhook"
- Send a message:
whatsapp message:send 5219991234567 "Hello, World!"
- Test a webhook:
whatsapp webhook:trigger --event text_message
For detailed documentation, visit: https://watools.github.io/whatsapp-cli
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the GitHub repository.