Skip to content

diazzaid/whatsapp-api-venom

 
 

Repository files navigation

WhatsApp API Free

WhatsApp venom API that you can configure in a click! It's really Free! :)

The project is an HTTP wrapper around https://github.com/orkestral/venom, so we can also support these methods:

Automatic QR Refresh
Send text, image, video, audio and docs
Get contacts, chats, groups, group members, Block List
Send contacts
Send stickers
Send stickers GIF
insert user section
📍 Send location!!
🕸🕸 and much more

Installation

untuk windows os

rubah pada bagian /src/config.service.ts bari ke 33 dari '/tmp/whatsapp-files', menjadi 'D:/api-wa/whatsapp-api-venom/tokens/whatsapp-files', sesuaikan dengan direktori masing-masing

  1. git clone https://github.com/diazzaid/whatsapp-api-venom.git
  2. cd whatsapp-api-venom
  3. npm i
  4. npm start
  5. scan qrcode via terminal image
  6. session Connected image

Run WhatsApp venom API:

After that open in a browser the link and you'll see Swagger (OpenApi) API specification for WhatsApp venom API http://localhost:3000/#/

Send a text message

Let's try to send a message:

  1. via curl

curl --location --request POST 'http://localhost:3000/api/send-message'
--header 'Content-Type: application/json'
--data-raw '{ "number": "6281224993382", "message": "api testing" }'

  1. swagger open browser http://localhost:3000/ image

Get a screenshot

Go to the "screenshot" section and get a screenshot http://localhost:3000/#/screenshot image

thanks to

venom https://github.com/orkestral/venom.

allburov https://github.com/allburov/whatsapp-http-api

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.8%
  • JavaScript 4.2%