Lushai Dev.
WAPI Official Logo
WhatsApp Automation & Multi-Device REST API

WAPI by Lushai Dev

High-throughput multi-device WhatsApp REST API Gateway. Send automated transactional alerts, media invoices, interactive polls, and receive real-time webhooks with built-in Anti-Ban protection.

Anti-Ban Protection

Dynamic micro-delay throttling (1.2s - 3.8s) mimics human typing cadence to protect sender accounts from carrier bans.

Direct API Key Access

Copy your active alphanumeric API key from your dashboard and authenticate with zero complex webhook signature headers.

Instant Socket Linking

Connect your number via 8-digit instant pairing codes or standard QR scanning in under 10 seconds.

Interactive Message Dispatch Simulator

Test Payload & Mobile Phone Screen Preview

curl -X POST https://wapi.lushai.dev/api/send-message \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "number": "919876543210",
    "type": "text",
    "message": "Hello! Your order #99482 has been shipped with tracking ID: TRK90281."
  }'
Live Mobile Chat Preview
WA
+919876543210
online via WAPI

Hello! Your order #99482 has been shipped with tracking ID: TRK90281.

Just now
Type a reply...
Predictable Monthly Subscriptions

Simple, Transparent Pricing Plans

Choose the right scale for your business. Zero per-message markups, zero hidden fees, cancel anytime.

Open Dashboard. .
100 Messages / mo

Free Account

Get started with testing & basic automated notifications.

₹0/ month
1 Connected WhatsApp Number
  • 100 Outbound Messages / month
  • REST API: Yes
  • 1 Webhook Endpoint
  • 1 Connected WhatsApp Number
  • 3.0s Anti-Spam Rate Delay
  • Mandatory WAPI Branding Footer Attached
  • Full REST API & Webhooks Access
  • Text Message Only
  • Standard Community Support
3,000 Messages / mo

Growth / Starter

Essential messaging for small stores, creators & startups.

₹99/ month
2 Connected WhatsApp Numbers
  • 3,000 Outbound Messages / month
  • REST API: Yes
  • 5 Webhook Endpoints
  • 2 Connected WhatsApp Numbers
  • 1.0s High-Speed Priority Delay
  • NO Branding Footer (Clean Messages)
  • Keyword Auto-Responder Bot (20 Rules)
  • Bulk Campaign Engine (3,000 Contacts)
  • Standard Email & Ticket Support
Most Popular
25,000 Messages / mo

Pro Business

Best for growing businesses, apps & marketing teams.

₹249/ month
5 Connected WhatsApp Numbers
  • 25,000 Outbound Messages / month
  • REST API: Yes
  • 25 Webhook Endpoints
  • 5 Connected WhatsApp Numbers
  • 0.5s High-Speed Priority Delay
  • NO Branding Footer (Clean Messages)
  • Unlimited Bulk Campaign Scheduler
  • Unlimited Auto-Responder Bot Rules
  • AI Smart Assistant & Channel Hub
  • Group Management & Status Saver API
  • Priority WhatsApp Support
Unlimited Node
Unlimited Messages

Unlimited Node / Enterprise VPS

Dedicated node with unthrottled scale & team multi-agent chat.

₹699/ month
20 Linked Devices / Numbers
  • Unlimited Outbound Messages & Campaigns
  • REST API: Yes
  • 100 Webhook Endpoints
  • 20 Linked WhatsApp Numbers
  • 0.1s Zero-Latency VPS Queue Delay
  • NO Branding Footer (Clean Messages)
  • Team Multi-Agent Live Chat Support
  • Dedicated VPS / Hostinger Cloud Node
  • Render & Hostinger High-Scale Deploy
  • 24/7 Dedicated VPS Engineer

Frequently Asked Questions

Anti-ban heuristics, webhooks, multi-device socket persistence, and rates.

Architecture & Real-World Guide

Why We Built WAPI: Overcoming High Messaging Costs

For small business owners, indie builders, and startups, setting up official WhatsApp Business API solutions often means wading through complex Facebook Business verification, high setup barriers, and expensive per-conversation billing rates that punish growing apps.

We created WAPI to give developers a straightforward, high-throughput REST API that connects directly to your own WhatsApp number via standard multi-device pairing. Within two minutes of pairing via QR code or numeric pairing code, you can trigger order confirmations, OTP verifications, and customer alerts with zero markup per message.

Built with intelligent anti-detection delays, automatic socket reconnection, and webhook callbacks, WAPI makes WhatsApp automation accessible to anyone with a few lines of code.

How WAPI Operates Under the Hood

01

Pair Your WhatsApp Device

Link your WhatsApp account in the dashboard using an instant 8-digit numeric pairing code or QR scan. Your device session is securely serialized in memory.

02

Obtain Your Secret Bearer Key

Generate an API key with configurable permissions and rate limits from your developer console.

03

Dispatch REST API Calls

Make a POST request to /api/send-message with the destination phone number and payload (text, PDF invoice, image, or poll).

04

Receive Real-Time Webhook Receipts

Configure a webhook URL to receive instant HTTP callbacks when messages are delivered, read, or when a customer replies.

Core Technical Capabilities

Multi-Device Session Stability

Employs Baileys v7 multi-device sockets with automated session keep-alive and self-healing reconnection protocols.

Rich Media & Document Invoices

Transmit dynamic PDF invoices, receipt images, audio voice notes, and stickers directly from external URLs or Base64 payloads.

Instant Two-Way Webhooks

Receive real-time JSON payloads for incoming customer replies to build automated support bots and chat reconciliation.

Anti-Spam Rate Control

Built-in pacing controls and dynamic jitter delays simulate human interaction to protect your connected phone numbers.

Technical Specifications & Latency Parameters

Core ProtocolBaileys Multi-Device REST Gateway
Dispatch Latency< 85ms median processing time
Supported MediaPDF, JPG, PNG, MP4, MP3, OGG, WebP
Pairing Mechanism8-Digit Numeric Code or Instant QR Scan
Webhook RetriesExponential backoff up to 5 attempts

Production Code Snippets

cURL Terminal Command
curl
curl -X POST https://wapi.lushai.dev/api/send-message \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "number": "919876543210",
    "type": "text",
    "message": "Your Lushai Dev verification code is: 489201. Valid for 5 minutes."
  }'
Node.js / TypeScript
node
import axios from 'axios';

async function sendWhatsAppAlert(recipient: string, message: string) {
  const response = await axios.post(
    'https://wapi.lushai.dev/api/send-message',
    { number: recipient, type: 'text', message },
    { headers: { Authorization: `Bearer ${process.env.WAPI_KEY}` } }
  );
  return response.data;
}
PHP 8.x cURL
php
<?php
$payload = json_encode([
    'number' => '919876543210',
    'type' => 'text',
    'message' => 'Hello! Your order has been dispatched with tracking code: LSH-8849.'
]);

$ch = curl_init('https://wapi.lushai.dev/api/send-message');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('WAPI_KEY'),
        'Content-Type: application/json'
    ],
    CURLOPT_POSTFIELDS => $payload
]);
$result = curl_exec($ch);
curl_close($ch);

Production Implementation Insights

Always Include Country Codes

Provide full international phone numbers without leading zeros or plus signs (for example, 91 for India followed by the 10-digit mobile number: 919876543210).

Respect Anti-Spam Delays

Space bulk transactional notifications by at least 1 to 2 seconds to keep your WhatsApp account in high reputational standing.

Frequently Asked Questions & Integration Details

Do I need an official Meta Business Verification to use WAPI?

No. WAPI uses the standard multi-device protocol. You connect your own WhatsApp number via an 8-digit numeric pairing code or QR scan, bypassing complex enterprise paperwork.

Are there hidden per-conversation or per-message charges?

No. Unlike traditional enterprise providers that charge per 24-hour conversation window, WAPI offers transparent subscription tiers with generous monthly message quotas.

What happens if my server experiences network hiccups?

WAPI maintains an active session buffer and automatically reconnects in the background so your webhook callbacks and queued dispatches remain intact.

Can I send PDF invoices and payment receipts with WAPI?

Yes! Set the message type to "media" and supply a publicly accessible HTTPS link to your PDF, receipt image, or invoice document.

HomeAPIs & DocsPricingToolsAccount