// the find
salman0ansari/whatsapp-api-nodejs
RESTful WhatsApp API with Multiple Device Support
A REST wrapper around the Baileys library that lets you control a WhatsApp account over HTTP — send messages, manage groups, receive webhooks. It's archived as of mid-2024, so what you're looking at is a snapshot, not a living project. The author has moved to a closed-source commercial offering.
Multi-instance support via keyed sessions is the right design for a service that needs to manage multiple WhatsApp accounts simultaneously. MongoDB-backed auth state means sessions survive restarts without re-scanning QR codes. Docker Compose setup with optional MongoDB is ready to run with minimal configuration. Webhook event filtering via WEBHOOK_ALLOWED_EVENTS is a useful touch that avoids flooding your endpoint with noise.
Archived and dead — the last real push was July 2024 and the author explicitly says they're done. Baileys itself moves fast to keep up with WhatsApp protocol changes, so a frozen wrapper will break without warning when WhatsApp updates their client. Token auth is a single static string in .env, which means rotating credentials requires a restart and there's no per-instance access control. One test file for a status route is not a test suite — any refactor is flying blind.