Skip to content

Simple RESTful WhatsApp API with Multiple Device Support.

License

Notifications You must be signed in to change notification settings

naveenrao2k/baileys-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baileys API

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

Installation

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

Usage

  1. Execute npm run start.
  2. Now you can access the endpoint from http://localhost:8000.

Endpoints

GET /

This endpoint provide an UI to manage your devices.


POST /send-message

This endpoint used to send a text message (currently only can be used to send a message to a single person).

Parameters

  • sender The session ID that already created.
  • receiver The receiver phone number in format: [country code without +][phone number].
  • message The message.

About

Simple RESTful WhatsApp API with Multiple Device Support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.2%
  • JavaScript 2.1%
  • Shell 0.7%