Sendexa LogoDocs
WhatsApp Business API
Stable

WhatsApp API Overview

Connect with over 2 billion WhatsApp users through Sendexa's official WhatsApp Business Platform integration. Send rich messages, handle customer conversations, and automate notifications — all through a single REST API.

Official Business API

Direct connection to the WhatsApp Business Platform (Cloud API) for maximum reliability and uptime.

Rich Media

Send images, videos, documents, audio, and interactive buttons to drive engagement.

Template Messages

Use Meta-approved templates for business-initiated notifications and campaigns.

Verified Branding

Build trust with an official business profile, display name, and green badge support.

Global Reach

Deliver to any WhatsApp-enabled number across 180+ countries with E.164 formatting.

End-to-End Encryption

Every message is secured with WhatsApp's end-to-end encryption by default.

Message Types

The Sendexa WhatsApp API supports six message types, all via the same POST /v1/whatsapp/send endpoint — set the type field to select.

Text

text

Plain or markdown-formatted text up to 4,096 characters with optional link preview.

Image

image

JPEG/PNG images with optional caption. Max 5 MB.

Video

video

MP4/3GPP video with optional caption. Max 16 MB.

Audio

audio

AAC/MP4/MPEG/OGG audio clips. Max 16 MB.

Document

document

PDF, DOCX, XLSX, and more. Max 100 MB. Supports filename.

Interactive

interactive

Reply buttons (up to 3), list menus (up to 10 rows), and CTA URL buttons for guided conversations.

Template

template

Meta-approved structured messages for business-initiated conversations.

First API Call

Send your first WhatsApp message in under a minute.

Bash
curl -X POST 'https://api.sendexa.co/v1/whatsapp/send' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic YOUR_DASHBOARD_BASE64_TOKEN' \
-d '{
"to": "233244000000",
"type": "text",
"text": { "body": "Hello! Your order has been confirmed." }
}'
Rate Limits at a Glance
EndpointPer SecondPer MinutePer Day
POST /send803,000100,000
GET /status2005,000
POST /resend20500
GET /numbers/check30050,000
POST /templates100 creates

Exceeding limits returns HTTP 429. Use exponential backoff and webhooks instead of polling to stay within limits.

Common Error Codes
CodeMeaningResolution
WA001Invalid phone numberCheck E.164 format
WA002Not on WhatsAppVerify number with /numbers/check
WA003Conversation window closedSend an approved template first
WA004Media download failedEnsure media URL is public HTTPS
WA005Rate limit hitBackoff and retry
WhatsApp API Introduction (5 mins)

A short walkthrough of the Sendexa WhatsApp API — covering account setup, sending your first message, and configuring webhooks.

Video coming soon