Back to services

OpenWA

Free, Open Source, Self-Hosted WhatsApp API Gateway

View alternatives to OpenWA
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: The official website could not be fetched when this entry was written. The content below is compiled from publicly available information about the project. Please refer to the official website and documentation for the most accurate details.

Introduction

OpenWA (open-wa) is an open-source WhatsApp automation project, and its core repository is wa-automate-nodejs. It uses browser automation to control WhatsApp Web and wraps WhatsApp's various operations into a programmatic interface, so developers can send and receive messages, manage groups, and handle media files in code.

Key Features

  • Library usage: Import @open-wa/wa-automate into a Node.js / TypeScript project, create a client with create(), then listen for incoming messages through events and call methods to send messages.
  • EASY API mode: A single command (such as npx @open-wa/wa-automate) starts an HTTP API server with accompanying API documentation, so you can call it over HTTP even from languages other than JavaScript.
  • Webhook delivery: Push events such as incoming messages to a URL you specify, making it easy to connect to existing business systems.
  • Rich message types: Send and receive many kinds of messages, including text, images, files, locations, and contact cards.
  • Group management: Create groups, add or remove members, retrieve group information, and more.
  • QR code login and session persistence: Scan a QR code to log in on the first run, then save the session to reduce repeated scanning.

Target Users and Use Cases

Suited to developers and technical teams who need to connect WhatsApp to their own systems, for example:

  • Building auto-reply customer service or Q&A bots
  • Sending notifications such as order status updates and appointment reminders
  • Connecting WhatsApp messages to a CRM, ticketing system, or automated workflow
  • Creating personal or internal messaging automation tools

Deployment Options

  1. Install as a dependency: Run npm i @open-wa/wa-automate in a Node.js project and call it from your code.
  2. Start the API from the command line: Run npx @open-wa/wa-automate, scan the QR code when prompted, and you can start using the HTTP API.
  3. Docker: Official container images are provided, which suit long-running deployments on a server.

Technical Requirements

  • A Node.js runtime environment
  • A Chromium / Chrome browser must be running (driven by Puppeteer)
  • A working WhatsApp account, logged in by scanning a QR code with your phone

Things to Note

  • OpenWA is not an official WhatsApp product and relies on WhatsApp Web to work. After WhatsApp updates, some features may temporarily stop working until the project catches up with a fix.
  • Automating WhatsApp through unofficial means may violate the WhatsApp Terms of Service and carries a risk of account bans, especially with bulk messaging. For formal business use, it is advisable to also evaluate the official WhatsApp Business Platform (Cloud API).
  • Some of the project's advanced features may require purchasing a license. Please refer to the official repository for licensing details.