https://github.com/xshmrz/app-waapi
A WhatsApp Client Library For NodeJS That Connects Through The WhatsApp Web Browser App
https://github.com/xshmrz/app-waapi
express whatsapp whatsapp-api whatsapp-web whatsapp-web-js
Last synced: 3 months ago
JSON representation
A WhatsApp Client Library For NodeJS That Connects Through The WhatsApp Web Browser App
- Host: GitHub
- URL: https://github.com/xshmrz/app-waapi
- Owner: xshmrz
- Created: 2025-01-11T22:45:50.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-01-21T12:06:09.000Z (4 months ago)
- Last Synced: 2025-01-21T13:20:13.355Z (4 months ago)
- Topics: express, whatsapp, whatsapp-api, whatsapp-web, whatsapp-web-js
- Language: TypeScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Headless Multi Session Whatsapp Gateway NodeJS
Easy Setup Headless Multi Session Whatsapp Gateway With NodeJs
- Support Multi device
- Support Multi Session / Multi Phone Number
- Send Text Message
- Send Image
- Send Document### Install and Running
### 1. Clone The Project
```bash
git clone https://github.com/xshmrz/app-WaApi.git
```### 2. Go To The Project Directory
```bash
cd app-WaApi
```### 3. Install Dependencies
```bash
npm install
```### 4. Start The Server
```bash
npm run start
```### 5. Open On Browser & Start Scan QR
```
http://localhost:5001/session/start?session=MySession
```### 6. Sending First Message
```
http://localhost:5001/message/send-text?session=MySession&to=90XXXXXXXXXX&text=Hello
```### Using Axios
```js
// Send Textaxios.post("http://localhost:5001/message/send-text", {
session : "MySession",
to : "90XXXXXXXXXX",
text : "Hello World",
});// Send Image
axios.post("http://localhost:5001/message/send-image", {
session : "MySession",
to : "90XXXXXXXXXX",
text : "Hello World",
image_url : "https://placehold.co/600x400",
});
```