Use Cases
Customer Support Automation
Deflect 60%+ of support tickets with FAQ bots, order lookup, and smart routing to human agents when needed. Each reply is one call to send a text message.
Appointment Booking
Let customers browse availability, pick a slot, and confirm bookings, all within the WhatsApp conversation.
E-Commerce Assistant
Product search, cart management, and checkout flows inside WhatsApp. Send order confirmations and shipping updates automatically.
Lead Qualification
Capture leads from WhatsApp ads. Ask qualifying questions, score prospects, and route hot leads to your sales team in real time.
Code Examples
// Copy, paste, ship
import express from 'express';
const app = express();
const API = 'https://api.wsapi.chat';
const HEADERS = {
'x-api-key': process.env.WSAPI_KEY,
'x-instance-id': process.env.INSTANCE_ID,
'Content-Type': 'application/json'
};
app.post('/webhook', express.json(), async (req, res) => {
const { eventType, eventData } = req.body;
if (eventType === 'message' && !eventData.sender.isMe) {
await fetch(`${API}/messages/text`, {
method: 'POST',
headers: HEADERS,
body: JSON.stringify({
to: eventData.chatId,
text: `You said: ${eventData.text}`
})
});
}
res.sendStatus(200);
});
app.listen(3000);Key Features
No Per-Message Fees
Flat monthly pricing. Send and receive unlimited messages within your plan
Rich Message Types
Text, images, video, audio, documents, contacts, locations, stickers, and buttons
Webhook Events
Real-time delivery receipts, read status, and presence updates for bot logic. See the message event payload
Session Persistence
Maintain conversation state across messages with your own storage
Multi-Language
Clean REST API plus official SDKs for Node.js, Python, PHP, Go, Java, and Ruby
No Meta Verification
Skip the Facebook Business verification process. Connect via QR code in minutes
Frequently Asked Questions
Related reading
Building a WhatsApp Chatbot: Complete Tutorial
Step-by-step guide to building a WhatsApp chatbot with Node.js, Express, and the WSAPI REST API. Covers webhooks, conversation state, media responses, and deployment.
How to Send WhatsApp OTP Codes (and Verify Them Safely)
Send one-time verification codes over WhatsApp from Python, with the parts most tutorials skip: hashed storage, expiry, attempt limits, and an SMS fallback.
Connect WhatsApp to n8n: Build an Auto-Reply Workflow
Install the WSAPI community node, receive WhatsApp messages with a signed webhook, and reply automatically. A workflow you can import, with the traps that cost an afternoon.
Twilio WhatsApp Alternative: Flat Pricing, Five Minutes
Looking for a Twilio WhatsApp alternative? Compare per-message fees with flat per-instance pricing, and see the same send in code for both. Free 14-day trial.
Explore more
Multi-Account WhatsApp API
Connect 1 to 100+ WhatsApp accounts under a single API. Route messages across in...
WhatsApp Webhook API
Receive instant notifications for incoming messages, delivery receipts, presence...
WhatsApp Group API
Full programmatic control over WhatsApp groups. Create groups, manage members, u...