An implementation of @adiwajshing/Baileys as a simple RESTful API service with multiple device support.
- Download or clone this repo.
- Enter to the project directory.
- Execute
npm i
to install the dependencies.
- You can start the app by executing
npm run start
ornode .
. - Now the endpoint should be available according to your environment variable settings. Default is at
http://localhost:8000
.
The API documentation is available online at here. You can also import the Postman Collection File (postman_collection.json)
into your Postman App alternatively.
The server will respond in JSON format:
{
success: true|false, // bool
message: "", // string
data: {} // object
}
This project is intended for learning purpose only, don't use this for spam or any activities that is prohibited by WhatsApp.