Easy Setup Headless multi session Whatsapp Gateway with NodeJS
- Support multi device
- Support multi session / multi phone number
- Anti delay message
- Bulk Message
Based on wa-multi-session
To run this project, you will need to add the following environment variables to your .env file
// .env
PORT=5001 // which port to running on your machine
KEY=mysupersecretkey # For Securing Some Data
Clone the project
git clone https://github.com/alfiansetia/wagw.git
Go to the project directory
cd wagw
Install dependencies
npm install
Start the server
npm run start
Open On Browser & Start New Session
http://localhost:5000/start-session?session=mysession&scan=true
POST /sessions?session=NEW_SESSION_NAME&scan=true
Parameter | Type | Description |
---|---|---|
session |
string |
Required. Create Your Session Name |
scan |
boolean |
Print QR at Browser |
POST /send-message
Body | Type | Description |
---|---|---|
session |
string |
Required. Session Name You Have Created |
to |
string |
Required. Receiver Phone Number with Country Code (e.g: 62812345678) |
text |
string |
Required. Text Message |
POST /send-bulk-message
Body | Type | Description |
---|---|---|
session |
string |
Required. Session Name You Have Created |
data |
array |
Required. Array Of Object Message Data |
delay |
number |
Delay Per-message in Miliseconds, Default to 5000ms |
GET /delete-session?session=SESSION_NAME
Parameter | Type | Description |
---|---|---|
session |
string |
Required. Create Your Session Name |
GET /sessions?key=mysupersecretkey
Parameter | Type | Description |
---|---|---|
key |
string |
Required. Key on ".env" file |
V3.2.0
- Add Get All Session ID
- Add Key for secret data
- Update README.md
npm install wa-multi-session@latest
For detailed documentation, including guides and API references, please visit the official documentation.
Contributions are welcome! Please follow the guidelines outlined in the CONTRIBUTING.md file.
This library is licensed under the MIT License.