Thanks to visit codestin.com
Credit goes to github.com

Skip to content

watoolkit/whatsapp-cli

Repository files navigation

WhatsApp CLI

A command-line interface for testing WhatsApp Business API webhooks and sending messages.

Features

  • 📱 Send WhatsApp messages
  • 🔄 Test webhook events
  • 🛠️ Configure API credentials
  • 🔒 Secure storage of configurations

Installation

npm install -g whatsapp-cli

Quick Start

  1. 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"
  1. Send a message:
whatsapp message:send 5219991234567 "Hello, World!"
  1. Test a webhook:
whatsapp webhook:trigger --event text_message

Documentation

For detailed documentation, visit: https://watools.github.io/whatsapp-cli

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue in the GitHub repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published