Send messages and files
Send an update, share a document, or reply when a message arrives.
open-wa is a self-hosted WhatsApp API and Node.js library for developers. Send messages, receive events, and connect WhatsApp to your app on your own server.
You’ll need Node.js 22.21.1 or newer and a phone with WhatsApp.
Start the Easy API, open-wa’s HTTP server, in your terminal:
npx @open-wa/wa-automate@5.6.5 --host 127.0.0.1 --port 8080Once it’s running, open your local dashboard. The quick start walks you through linking WhatsApp and sending a message.
After linking your account and checking it is ready, call sendText from a second terminal.
Replace 447123456789@c.us with a known recipient’s international number followed by @c.us, without a + sign or spaces. Change the message to your own text.
curl -X POST http://localhost:8080/api/messages/sendText \
-H "Content-Type: application/json" \
-d '{
"to": "447123456789@c.us",
"content": "Your order is ready to collect!",
"options": {}
}'Your order is ready to collect!
Send an update, share a document, or reply when a message arrives.
Pass incoming messages to your application or bring conversations into your helpdesk.
Run more than one account, adjust settings, and work through connection problems.
Check which features need Restricted or Insiders access, including their account requirements and current limitations, before you buy.
open-wa is a self-hosted WhatsApp API and Node.js library for developers. Send messages, receive events, and connect WhatsApp to your app on your own server.
How open-wa worksDevelopers who want to connect an existing WhatsApp account to their own applications, support tools, or automation workflows through HTTP or Node.js.
Explore integrationsInstall @open-wa/wa-automate, create a connected client, link your WhatsApp account, and call client.sendText with the recipient and message. The Node.js guide walks through each step.
Send a message with Node.jsYes. Start the Easy API on a machine with Node.js, link WhatsApp, and call its HTTP endpoints from your application. Your application can use any language that makes HTTP requests.
Start the WhatsApp HTTP APIUngated methods do not need a paid license key. Some features require a Restricted or Insiders license, and sending to a number that is not already a contact has an additional license requirement. Review the current tiers and checkout prices for the features you need.
See pricing and licensed featuresNo. open-wa is an unofficial project with no affiliation to WhatsApp or Meta. It connects through WhatsApp Web, and using automation can lead to account restrictions or bans.
Read the operating guidance