How to Send WhatsApp Messages Using Node.js – Complete Guide (2025)
If you're a developer looking to integrate WhatsApp messaging inside your website, CRM, SaaS, or automation script — this guide is for you. With Wassy’s instant WhatsApp API, you can send messages using Node.js in just a few minutes.
Unlike the official WhatsApp Cloud API, Wassy requires no Meta approval, no business verification, and no template restrictions. Just connect your number and start sending WhatsApp messages instantly.
🚀 Why Use Wassy WhatsApp API?
- No Meta approval needed
- No business verification required
- No template approval delays
- Works with any WhatsApp number
- Simple REST API for developers
- Costs as low as ₹0.10 per message
📦 Step 1: Install Dependencies in Node.js
```bash npm install axios ```We'll use Axios to make API requests.
🔑 Step 2: Get Your Wassy API Token
Inside your Wassy dashboard, go to:
Developers → API Keys → Generate Token
Copy your API key. You will need it in the code.
📨 Step 3: Send WhatsApp Message Using Node.js
```js import axios from "axios"; async function sendWhatsApp() { try { const response = await axios.post( "https://wassy.in/api/message/send", { number: "91XXXXXXXXXX", // receiver's number message: "Hello! This is a test message from Node.js using Wassy API 🚀", }, { headers: { Authorization: "Bearer YOUR_WASSY_API_KEY", "Content-Type": "application/json", }, } ); console.log("Message sent:", response.data); } catch (error) { console.error("Error:", error.response?.data || error.message); } } sendWhatsApp(); ```That’s it! 🎉 Your message is now delivered through WhatsApp.
📤 Sending Media (Images, PDFs, Videos)
```js await axios.post( "https://wassy.in/api/message/sendMedia", { number: "91XXXXXXXXXX", media_url: "https://example.com/sample.jpg", caption: "Here is your requested file 📄", }, { headers: { Authorization: "Bearer YOUR_WASSY_API_KEY", "Content-Type": "application/json", }, } ); ```⚙️ Advanced: Automate WhatsApp Messaging
You can integrate Wassy API with:
- CRM systems
- Order management dashboards
- Chatbots
- E-commerce order notifications
- Lead capture forms
- Node.js backend servers
- Marketing automation scripts
❓ Frequently Asked Questions
Q: Do I need Meta approval to use Wassy API?
No. Wassy works without any Meta approval.
Q: Can I send unlimited messages?
Yes, send as per your credits.
Q: Does it work with any WhatsApp number?
Yes, personal + business numbers are supported.
🚀 Start Sending WhatsApp Messages Today
Wassy gives developers the easiest, fastest, and most affordable WhatsApp API solution in India. Integrate messaging into your apps in just a few minutes.
Get your API key today and start sending WhatsApp messages using Node.js!

