Official WhatsApp API for Developers

The Official
WhatsApp Node.js API Integration

Stop wrestling with whatsapp-web.js, Baileys, and unofficial npm packages. Build your Node.js WhatsApp bot using OnlineLiveSupport's official REST API — no ban risk, no maintenance headaches, just clean HTTP calls from your Node.js app.

Start 3-Day Free Trial
No credit card • 3-day free trial • Cancel anytime
OnlineLiveSupport WhatsApp Node.js API Dashboard

Trusted by forward-thinking companies

Official WhatsApp API
Zero Ban Risk
Node.js Ready REST API

WhatsApp Node.js Integration in 2 Steps

No npm package to install. No whatsapp-web.js setup. No Baileys configuration. Just clean REST API calls from your Node.js app.

Step 1: Get Your API Token

  • Sign up at crm.onlinelivesupport.com — free 3-day trial, no credit card.
  • Connect your WhatsApp number via QR Code (instant) or Official Meta WABA API.
  • Navigate to the REST API tab and copy your API Token — your nodejs whatsapp integration key.
  • No npm install whatsapp-web.js, no Puppeteer, no browser automation required.
WhatsApp Node.js API Token Setup

Step 2: Send WhatsApp from Node.js

Use Node.js fetch or axios to send WhatsApp messages via HTTP POST. Here is your WhatsApp Node.js example:

// WhatsApp Node.js Example — OnlineLiveSupport REST API
const axios = require('axios');

async function sendWhatsApp(to, message) {
  const response = await axios.post(
    'https://crm.onlinelivesupport.com/api/send-message',
    { to, message },
    { headers: { 'Authorization': `Bearer YOUR_API_TOKEN` } }
  );
  return response.data;
}

// Send a WhatsApp message from Node.js
sendWhatsApp('60123456789', 'Hello from Node.js! 👋');
  • Works with Node.js fetch, axios, got, or any HTTP client.
  • Supports webhooks for receiving incoming WhatsApp messages in your Node.js app.
  • Build a complete nodejs whatsapp bot without ban risk.
Node.js WhatsApp Bot Integration

Receive Incoming Messages via Webhook

Set up a Node.js WhatsApp webhook to receive messages in real-time — perfect for building a click to chat nodejs whatsapp flow or automated bot replies:

// Node.js WhatsApp Webhook — Express.js Example
const express = require('express');
const app = express();
app.use(express.json());

app.post('/webhook/whatsapp', (req, res) => {
  const { from, message } = req.body;
  console.log(`New WhatsApp message from ${from}: ${message}`);
  // Auto-reply logic here
  res.sendStatus(200);
});

app.listen(3000);
WhatsApp Webhook Node.js

Whether you are searching for a whatsapp web js alternative, a production-ready baileys replacement, or a twilio whatsapp nodejs competitor — OnlineLiveSupport delivers a stable, official WhatsApp REST API that integrates with nodejs whatsapp applications in minutes. Available on whatsapp npmjs via axios or fetch — no proprietary SDK required.

Official n8n Community Node

WhatsApp Node.js for n8n

The official n8n-nodes-whatsapp-crm-marketing package connects OnlineLiveSupport's WhatsApp CRM directly into your n8n automation workflows.

Install via npm

npm i n8n-nodes-whatsapp-crm-marketing View on npm ↗

Latest version: v1.4.6  ·  License: MIT  ·  Author: OnlineLiveSupport.com

🚀 Key Features

💬 Send Text Messages

Send plain text WhatsApp messages to any recipient instantly.

🖼️ Send Images

Share images with optional captions via direct URL.

🎥 Send Videos

Send video files with optional captions via direct URL.

🎵 Send Audio

Deliver audio messages (AAC format) to recipients.

📄 Send Documents

Share PDFs and documents with optional captions.

📍 Share Locations

Send GPS coordinates with a custom title.

📦 Installation in n8n Dashboard

1

Log into your n8n Dashboard

Open your self-hosted or cloud n8n instance.

2

Navigate to Settings → Community Nodes

Click Install a Node (or "Install community node").

3

Enter the package name

n8n-nodes-whatsapp-crm-marketing
4

Agree to terms and click Install

The node will be available in your workflow editor immediately.

🔑 Configuration Guide

1

Connect WhatsApp via QR Code

Log in at crm.onlinelivesupport.comAdd WhatsApp by QR → Add Device → scan QR with your phone.

2

Retrieve your API Token

Go to the REST API tab and copy your API Token.

3

Create credentials in n8n

FieldValue
API KeyPaste your API Token from the REST API tab
CRM Base URLhttps://crm.onlinelivesupport.com (pre-filled)
4

Find your WhatsApp "From" Number

Go to your Devices Panel to see your active connected WhatsApp numbers. Use the number (with country code, e.g. +1234567890) as the From Number field.

🛠️ Actions & Parameters

Message TypeRequired Fields
TextMessage Text
ImageImage URL, Caption (optional)
VideoVideo URL, Caption (optional)
AudioAudio URL (AAC format)
DocumentDocument URL, Caption (optional)
LocationLatitude, Longitude, Title (optional)

Usage example — send a text message:

// n8n WhatsApp Node — Text Message Example
From Number: +1234567890
Send To:     +9876543210
Type:       Text
Text:       Hello! Your order has been shipped 🚚
View on npm ↗ GitHub Repository ↗

OLS vs whatsapp-web.js vs Baileys vs Twilio

Why developers are switching from unofficial Node.js WhatsApp libraries to OnlineLiveSupport's official API.

Feature OnlineLiveSupport API whatsapp-web.js Baileys Twilio WhatsApp
Official WhatsApp API✅ Yes❌ No❌ No✅ Yes
Ban Risk✅ None❌ High❌ High✅ None
Node.js Compatible✅ Yes (REST)✅ Yes (npm)✅ Yes (npm)✅ Yes (SDK)
Breaks after WhatsApp update✅ Never❌ Frequently❌ Frequently✅ Never
Per-message cost✅ $0 markup✅ Free✅ Free❌ Per-message fee
CRM Dashboard included✅ Yes❌ No❌ No❌ No
Bulk Broadcast✅ Yes❌ Risky❌ Risky✅ Yes
AI Chatbot built-in✅ Yes❌ No❌ No❌ No
Webhook support✅ Yes✅ Events✅ Events✅ Yes
Starting price✅ $30/month✅ Free✅ Free❌ Pay-per-message

Limitless Integrations

Connect your Node.js WhatsApp app to the tools you already use via native integrations and Webhooks.

Google Sheets
WooCommerce
Meta WhatsApp
OpenAI
Gemini
DeepSeek
WordPress
Shopify
REST APIs
Telegram
SMTP & Webhooks
Simple Pricing

Plans for every developer & team

Start free, scale as you grow. No hidden fees, no per-message markup, cancel anytime.

Free Trial

Trial

Test the Node.js WhatsApp API for 3 days. No credit card required.

$0

For 3 days

Start Free Trial
Included Features
  • REST API Access
  • QR WhatsApp Connection
  • Webhook Support
  • AI Chatbot
  • Contact Limit 10

Starter

Paid

REST API, QR login, WhatsApp Blast, chatbot flows, WA Warmer

$39.99$30

For 30 days

Get Started
Included Features
  • Contact Limit 3000
  • REST API Access
  • Webhook Support
  • Chatbot
  • WhatsApp Warmer

Pro

Paid

All Starter + Inbox, Cloud API, webhooks, Google Sheets, MySQL

$79.00$70

For 30 days

Get Started
Included Features
  • Contact Limit 10000
  • Cloud API
  • Advanced Webhooks
  • Google Sheets
  • MySQL Query

Loved by developers & businesses

See what teams building WhatsApp Node.js integrations say about OnlineLiveSupport.

★★★★★

"The platform's reliability is unmatched—no glitches, just smooth operations. Plus, their customer support team is stellar. Worth every star and more!"

Fida Muhammad
Fida Muhammad
★★★★★

"One of the best and reliable services I have ever used. Simple, efficient and cost effective. 100% satisfaction."

Edward Zevelev
Edward Zevelev
★★★★★

"Using eCommerce automations by using Online Live Support, it managed to improve conversations by more than 40%. I will strongly recommend Online Live Support."

Syahir Saher
Syahir Saher
★★★★★

"efficace et rapide ! très bon service :-)"

Victor de Torres
Victor de Torres
★★★★★

"Long but nice support!"

Beaugas Orain
Beaugas Orain
★★★★★

"Awesome service. Excellent support!"

Fabian Lim
Fabian Lim
Read All Reviews

Frequently Asked Questions

What is whatsapp-web.js and where can I find it on GitHub?

whatsapp-web.js is an unofficial Node.js library available on GitHub at pedroslopez/whatsapp-web.js and on npm as whatsapp-web.js. It reverse-engineers WhatsApp Web but violates WhatsApp ToS. For production use, OnlineLiveSupport's official REST API is a safer alternative with no ban risk.

What is Baileys (WhatsApp Node.js)?

Baileys is an unofficial WhatsApp Node.js library on GitHub and npm that implements the WhatsApp Web multidevice protocol. It frequently breaks after WhatsApp updates and carries ban risk. The official WhatsApp Business API via OnlineLiveSupport is a stable, production-safe replacement.

What is n8n-nodes-whatsapp-crm-marketing?

n8n-nodes-whatsapp-crm-marketing is an official n8n community node by OnlineLiveSupport that connects WhatsApp CRM directly into your n8n workflows. Install it with npm i n8n-nodes-whatsapp-crm-marketing or via n8n Dashboard → Settings → Community Nodes. It supports sending text, images, videos, audio, documents, and locations via WhatsApp — no Meta Business approval needed with QR login.

Is there a WhatsApp Node.js tutorial or example?

Yes. With OnlineLiveSupport, your Node.js WhatsApp tutorial is simple: sign up, connect WhatsApp, get your API token, then use axios.post() or fetch() to send messages. No Puppeteer, no browser, no complex setup — just clean HTTP calls in minutes.

How do I build a Node.js WhatsApp bot?

To build a nodejs whatsapp bot with OnlineLiveSupport: configure a webhook URL in your OLS dashboard pointing to your Node.js Express server, then receive and respond to messages via HTTP. Combine with the AI Chatbot feature to build intelligent bots without writing AI logic yourself.

How does OnlineLiveSupport compare to Twilio WhatsApp Node.js?

OnlineLiveSupport is more affordable than Twilio for WhatsApp. Twilio charges per message on top of your subscription. OLS charges zero markup — you pay Meta directly. Starting at $30/month with a full CRM included, OLS is the preferred twilio whatsapp nodejs alternative for cost-conscious developers.

Is whatsapp-web.js available on npm (whatsapp npmjs)?

Yes, whatsapp-web.js is available on npm via npm install whatsapp-web.js. However, as an unofficial library it risks account bans. OnlineLiveSupport provides an official whatsapp npmjs-compatible workflow — simply use axios or node-fetch to call the OLS REST API without installing any WhatsApp-specific npm packages.

What is the best WhatsApp Web JS alternative?

The best WhatsApp Web JS alternative for Node.js developers is OnlineLiveSupport's official REST API. It offers: no ban risk, stable uptime, full CRM dashboard, broadcast campaigns, AI chatbot, webhooks, and Shopify/WooCommerce integrations — all accessible from Node.js via simple HTTP requests.

Ready to build your WhatsApp Node.js integration?

Join thousands of developers and businesses using OnlineLiveSupport's official WhatsApp API.

Start 3-Day Free Trial
No credit card • 3-day free trial • Cancel anytime