WSAPI_
GET/developers—200OK

REST API for WhatsApp: 5-Minute Setup

Send and receive WhatsApp messages from your backend with a clean REST API. Webhooks, media, and multi-account, with no Meta Business API approval required.

$ open ./docs

// 14-day free trial · no credit card · cancel anytime

rest.ts
ready

REST API with full documentation

Predictable JSON endpoints, typed responses, and an OpenAPI reference. Curl-friendly, framework-agnostic.

setup.sh
ready

5-minute setup, no Meta approval

Sign up, scan a QR code from your dashboard, send your first message. No Business API verification, no waiting list.

webhooks.ts
ready

Webhooks for incoming messages

Subscribe to message, status, and presence events. Real-time delivery via webhooks or Server-Sent Events (SSE), or Redis Streams when self-hosting.

send.ts
ready

Bulk, media, and interactive messages

Text, images, video, documents, voice notes, contacts, locations, buttons, and lists, all from one endpoint surface.

trial.json
ready

Free 14-day trial

Full API access on the trial plan. No credit card required.

POST /messages/text

Send your first message

// One POST. Pick your stack.

send.sh
curl -X POST https://api.wsapi.chat/messages/text \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-instance-id: YOUR_INSTANCE_ID" \
  -d '{"to": "1234567890", "text": "Hello from WSAPI!"}'

Related reading

send-whatsapp-messages-nodejs-2026.mdx
ready
tutorialnodejs

How to Send WhatsApp Messages with Node.js

Send WhatsApp messages from Node.js in five minutes: install the SDK, send text and images, and receive incoming messages over SSE. Full working code.

September 7, 2026|4 min read
send-whatsapp-messages-python-2026.mdx
ready
pythontutorialapi

How to Send WhatsApp Messages with Python (2026 Guide)

Learn to send WhatsApp messages programmatically using Python. Covers the WSAPI REST API with requests, message types, webhooks, and building an auto-reply bot.

April 1, 2026|8 min read
send-whatsapp-messages-php-laravel-2026.mdx
ready
phplaraveltutorial

Send WhatsApp Messages with PHP and Laravel

A working WhatsApp API integration in PHP, with a Laravel service class and a webhook receiver that verifies signatures properly. No SDK required.

September 21, 2026|4 min read
whatsapp-otp-verification-python.mdx
ready
pythonsecuritytutorial

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.

September 28, 2026|4 min read
whatsapp-n8n-auto-reply.mdx
ready
n8nautomationtutorial

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.

October 5, 2026|4 min read
twilio-whatsapp-alternative.mdx
ready
comparisonpricing

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.

October 12, 2026|4 min read
whatsapp-buttons-and-lists-api.mdx
ready
tutorialinteractive-messages

WhatsApp Buttons and Lists API for Any Account

Send WhatsApp reply buttons, link buttons and pick-one lists with two REST calls, and read the choice back as an event. No Business API account.

October 15, 2026|4 min read
whatsapp-chatbot-api-buttons-nodejs.mdx
ready
tutorialchatbotnodejs

WhatsApp Chatbot API: A Button-Driven Bot in Node.js

Build a WhatsApp chatbot with a REST API: verify webhooks, answer with tappable buttons and route the replies. Working Node.js code, about 60 lines.

October 19, 2026|5 min read

$ wsapi --help

Build with WhatsApp in minutes

// Start your free 14-day trial. Full API access. No credit card.