Send WhatsApp Message
Send text, media, and template messages to any WhatsApp number with real-time delivery tracking and end-to-end encryption.
7 Message Types
Text, image, video, audio, document, interactive (buttons & lists), and template — all via a single endpoint
Global Reach
Deliver to any WhatsApp-enabled number worldwide with automatic E.164 number formatting
End-to-End Encryption
All WhatsApp messages are secured with end-to-end encryption by default
Instant Delivery
Real-time delivery with read receipts and status callbacks via webhooks
Authentication Required
Authorization header as Basic <token>.200ms
95th percentile
₵0.05
1 credit = 1 message
16MB
images, docs & video
80/s
per API key
Request Body
{"to": "233244000000","type": "text","text": {"body": "Hello from Sendexa! Your order #ORD-12345 has been confirmed.","preview_url": true}}
Response
{"success": true,"message": "WhatsApp message sent successfully","data": {"id": "wamid.HBgLMjMzNTU1MzM5NTIVAgARGBI2QzE5QUI3RjZENkI2QTU3NjQA","messageId": "exa_wa_123456789_abc123def","status": "sent","to": "233244000000","type": "text","cost": 1,"timestamp": "2024-01-15T10:30:00Z"}}
Try It Yourself
https://api.sendexa.co/v1/whatsapp/sendCode Examples
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 from Sendexa WhatsApp API!" }}'
Common Use Cases
Order & Shipping Updates
Send real-time order confirmations and delivery notifications
Customer Support
Respond to enquiries with rich media and documents
Promotional Campaigns
Run opt-in campaigns with images and call-to-actions
Rate Limits
HTTP Status Codes
| Code | Status | Description |
|---|---|---|
| 200 | OK | Message sent successfully |
| 400 | Bad Request | Invalid phone number or missing parameters |
| 401 | Unauthorized | Invalid or missing API credentials |
| 403 | Forbidden | Phone number not registered or insufficient credits |
| 429 | Too Many Requests | Rate limit exceeded |
Best Practices
- Use template messages for the first outbound message to a user
- Store the returned
messageIdfor delivery status tracking - Respect the 24-hour conversation window — use templates to re-open
- Ensure all media URLs are publicly accessible over HTTPS