A small server to run in localhost that provides some endpoints to access Whatsapp API client.
It uses whatsapp-web.js library.
Clone this repository: git clone https://github.com/carvalhorafael/whatsapp-n8n-server.git
Install dependencies: npm install
npm start
Open a web browser http://localhost:8080
and scan the QRCode.
Send a message to one contact.
- Method: POST
Get all chats (groups included).
- Method: GET
Get all participants in a chat group.
- Method: GET