WhatsApp API - atabegruslan/Notes GitHub Wiki
Official APIs
Not officially public and not free
- https://developers.facebook.com/docs/whatsapp/on-premises/get-started/postman/
- https://business.whatsapp.com/developers/developer-hub
However there are 2 libraries that works around that
wwebjs
Web JS interacts with WhatsApp via WhatsApp Web ( https://web.whatsapp.com ). It uses puppeteer ( https://www.npmjs.com/package/puppeteer ) to visit WhatsApp Web in a background browser, and uses ModuleRaid ( https://www.npmjs.com/package/@pedroslopez/moduleraid ) to pick out various info from WhatsApp Web.
Baileys
Baileys directly uses the websocket mechanism behind WhatsApp Web to interact with WhatsApp
- https://github.com/WhiskeySockets/Baileys
- Other usage examples:
Other relevant websites
- https://waha.devlike.pro/docs/overview/quick-start/
- Reverse-engineered WhatsApp Web: https://github.com/sigalor/whatsapp-web-reveng
- Other related libraries: https://www.libhunt.com/r/whatsapp-http-api
- https://medium.com/@anisettyanudeep/demystifying-the-whatsapp-web-desktop-qr-code-scanning-process-9e5a0ba10c22