finds.dev← search

// the find

salman0ansari/whatsapp-api-nodejs

★ 1,341 · JavaScript · GPL-3.0 · updated Jul 2024

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.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →