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( "www.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( "www.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!

