Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.01 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.01 KB

Baileys API

An implementation of @adiwajshing/Baileys as a simple RESTful API service with multiple device support.

Installation

  1. Download or clone this repo.
  2. Enter to the project directory.
  3. Execute npm i to install the dependencies.

Usage

  1. You can start the app by executing npm run start or node ..
  2. Now the endpoint should be available according to your environment variable settings. Default is at http://localhost:8000.

API Docs

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
}

Notice

This project is intended for learning purpose only, don't use this for spam or any activities that is prohibited by WhatsApp.