first commit
This commit is contained in:
26
README.md
Normal file
26
README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# AyrisTech WhatsApp Gateway
|
||||
|
||||
A simple WhatsApp Gateway worker using `whatsapp-web.js` and `express`.
|
||||
|
||||
## Features
|
||||
- QR Code generation for authentication
|
||||
- Message sending via HTTP POST
|
||||
- Multi-user support via LocalAuth
|
||||
|
||||
## Setup
|
||||
1. Clone the repository
|
||||
2. Run `npm install`
|
||||
3. Copy `.env.example` to `.env` and configure your settings
|
||||
4. Run `npm start`
|
||||
|
||||
## API
|
||||
### Send Message
|
||||
**POST** `/send-message`
|
||||
```json
|
||||
{
|
||||
"secret": "your_webhook_secret",
|
||||
"userId": "unique_user_id",
|
||||
"to": "phone_number",
|
||||
"message": "your_message"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user