5 minutes to first message

Send WhatsApp Messages via REST API
Built for Developers.

Send messages, images, files, and OTPs to any WhatsApp number via a simple REST API. Integrate in minutes. Scales from side projects to enterprise.

  • Send text, images, files, voice & video messages
  • Manage groups, channels & contacts
  • QR code + pairing code session auth
  • Free plan — no credit card required

Free plan · 100 requests/month · No setup fees · Instant access

10+
Message types
REST
Simple HTTP API
send_message.py
import requests

url = "https://whatsapp-messaging-bot.p.rapidapi.com/v1/sendText"
headers = {
    "x-rapidapi-key": "YOUR_API_KEY",
    "x-rapidapi-host": "whatsapp-messaging-bot.p.rapidapi.com",
    "Content-Type": "application/json"
}
payload = {
    "chatId": "1234567890",
    "text": "Hello! 👋",
    "session": "default"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
5-Minute Setup
First message in under 5 min
Global Reach
Send to any WhatsApp number
Enterprise Security
API key auth + rate limiting
Any Language
Python, JS, PHP, Ruby, Go…
Privacy First
Your data stays your data
Always-On API
Monitored 24/7 uptime

Everything You Need to Build on WhatsApp

A complete API surface covering messages, media, groups, channels, sessions, contacts, and presence — all accessible with a single HTTP request.

Text Messages

Send plain-text and emoji messages to any contact, group, or channel with full delivery status tracking.

Images & Media

Share photos, images, and visual content with optional captions. Full support for multidevice WhatsApp accounts.

File Attachments

Send PDFs, Word docs, spreadsheets, and any file type. Track delivery, read receipts, and message status.

Voice & Video

Deliver voice notes and video messages for richer customer experiences. Full webhook support for incoming messages.

Group Management

Create groups, add/remove participants, update names and settings. Session persistence across reconnections.

Channel Broadcasting

Create and manage WhatsApp Channels to broadcast to unlimited subscribers. Alternative to WhatsApp Cloud API.

Session Auth (QR + PIN)

Authenticate sessions with QR code scanning or 8-digit pairing code. Sandbox testing environment available.

Contact Lookup

Check if a number is on WhatsApp and retrieve contact profile data with read receipt confirmation.

Presence & Status

Set typing indicators, read receipts, and online/offline presence status in real-time.

Message Replies

Reply to specific messages with any content type, maintaining conversation threads like native WhatsApp.

Multi-Session

Manage multiple WhatsApp accounts simultaneously with session isolation and independent session management.

API Key Auth

Secure every request with per-key authentication, rate limiting, webhook validation, and enterprise security.

How It Works

Get started in three simple steps. From signup to sending your first message.

01

Get API Key

Sign up and get your API key in seconds. No complicated setup required.

02

Integrate

Add a few lines of code to your application. Supports all popular languages.

03

Send Messages

Start sending WhatsApp messages immediately. Track delivery and responses.

It's that simple. Start building with our API today.

Try Free Now

Use Cases

Explore how businesses across industries use our WhatsApp API

Notifications & Alerts

Send real-time order, delivery, and system notifications to customers via WhatsApp

Real-timeAlerts

E-commerce & Orders

Order confirmations, shipping updates, invoices, and payment reminders directly to customers

OrdersUpdates

Appointment Reminders

Automated appointment and booking reminders to reduce no-shows and improve attendance

RemindersScheduling

Business Automation

Create WhatsApp bots and automated workflows for lead generation and customer engagement

AutomationBots

Customer Support

Two-way messaging for support teams to handle customer inquiries in real-time

SupportChat

Security & OTP

Send secure one-time passwords and verification codes for authentication and security

SecurityOTP

Code Examples

Real-world examples to get you started quickly

send_text_message.py
import requests

url = "https://whatsapp-messaging-bot.p.rapidapi.com/v1/sendText"

headers = {
    "x-rapidapi-key": "YOUR_API_KEY",
    "x-rapidapi-host": "whatsapp-messaging-bot.p.rapidapi.com",
    "Content-Type": "application/json"
}

payload = {
    "chatId": "1234567890",
    "text": "Hello! 👋",
    "session": "default"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())

Join Developers Building on the API

Trusted by independent developers, startups, and engineers shipping on RapidAPI.

8+Active DevelopersBuilding real integrations on the platform

Available on RapidAPI Marketplace

Subscribe in seconds. No backend required. Start building today.

WhatsApp API Pricing — Free, Pro, Ultra & Mega Plans

Start free, scale as you grow. All plans include full API access to channels, groups, and sessions.

Basic

Try the API for free

$0.00/mo
Get Started Free

Requests

100 / MonthHard Limit

Features

Channels
Groups
Available sessions — 1 session
Quick Support

Rate Limit

10 requests per second


Bandwidth Platform Fee

10,240 MB / Month + $0.001 per 1MB

Pro

For growing projects

$4.99/mo
Subscribe Now

Requests

1,000 / Month+$0.01 per extra request

Features

Channels
Groups
Available sessions — 3 sessions
Quick Support

Rate Limit

10 requests per second


Bandwidth Platform Fee

10,240 MB / Month + $0.001 per 1MB

★ Recommended

Ultra

Most popular for teams

$14.99/mo
Subscribe Now

Requests

10,000 / Month+$0.01 per extra request

Features

Channels
Groups
Available sessions — 10 sessions
Quick Support

Rate Limit

20 requests per second


Bandwidth Platform Fee

10,240 MB / Month + $0.001 per 1MB

Mega

For high-volume operations

$49.00/mo
Subscribe Now

Requests

50,000 / Month+$0.005 per extra request

Features

Channels
Groups
Available sessions — Unlimited
Quick Support

Rate Limit

25 requests per second


Bandwidth Platform Fee

10,240 MB / Month + $0.001 per 1MB

Prices shown are billed via RapidAPI Marketplace. Overage charges apply where noted.

WhatsApp API FAQ — Common Questions Answered

Find answers to common questions about our REST API

It is a REST API by Retention Stack that lets you send and receive WhatsApp messages programmatically. Manage sessions, send text/images/files, create groups, and build automated WhatsApp workflows. No local setup required - it's entirely cloud-based.

No! The WhatsApp Messaging API is a cloud-based service. Simply subscribe on RapidAPI, get your API key, and make HTTP requests. No local server or infrastructure needed.

Create a session, then get the QR code via /v1/{session}/auth/qr. Scan it with your WhatsApp camera to authenticate. Alternatively, use pairing codes for 8-digit authentication without scanning.

Text, images, files (PDFs, documents), videos, voice messages, location data, contact cards, and reactions. You can also reply to existing messages and send to individuals, groups, or channels.

Basic: 10 req/sec (100 req/month hard limit). Pro: 10 req/sec (1,000 req/month). Ultra: 20 req/sec (10,000 req/month). Mega: 25 req/sec (50,000 req/month). Pro, Ultra, and Mega plans support overage billing so you never get hard-blocked.

Yes. Create multiple sessions based on your plan: Basic allows 1 session, Pro allows 3, Ultra allows 10, and Mega allows unlimited sessions.

Groups are for multi-way conversations where everyone can message. Channels are broadcast-only where only the owner sends messages to subscribers.

Free plan: Documentation only. Paid plans include email support with 24-hour response time. Contact support@retentionstack.agency or visit RapidAPI for assistance.

Still have questions?

Our support team is here to help. Contact us or check out our documentation.

Contact Support
Free plan available · No credit card required

Start Sending WhatsApp Messages
in Under 5 Minutes.

Subscribe on RapidAPI, grab your key, and make your first API call — all in under five minutes. No server setup, no WhatsApp Business account required.

✓ 100 free requests/month✓ REST API · any language✓ Instant subscriptions✓ Email support on paid plans