WhatsApp Chatbot API
Build conversational WhatsApp bots with a clean REST API. Handle text, buttons, lists, media, and location, all without per-message charges or Meta Business verification delays.
No credit card required · 14-day free trial
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 from a list, and confirm or cancel with a tap on a button, 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 and lists
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

