Connect your WhatsApp numbers in seconds with dynamic QR code pairing. Send transactional alerts, OTP codes, and order confirmations via high-speed REST API, and handle customer replies instantly with real-time webhooks.
Traditional SMS messaging is expensive, suffers from poor open rates, and is frequently blocked by spam filters. Meanwhile, manual WhatsApp web messaging is slow, labor-intensive, and prone to account bans. The official Meta Cloud API imposes rigid template restrictions, long approval delays, and hefty per-conversation charges.
Darory WhatsApp API Gateway delivers the ideal solution: an agile, developer-friendly REST API that connects to your existing WhatsApp numbers in seconds via QR code. Send flexible dynamic messages, verify active phone numbers before sending, receive incoming replies automatically through webhooks, and manage everything effortlessly from your Darory Client Area.
Explore the full feature stack powering the Darory WhatsApp Gateway in your client portal.
Every account operates inside an isolated WhatsApp session with its own API token, connection state, and phone number pairing.
Scan and connect within seconds without waiting for lengthy enterprise account verifications.
A clean, intuitive HTTP JSON API designed for speed, reliability, and high throughput.
Check if a telephone number exists on WhatsApp before sending to prevent delivery errors.
Turn your WhatsApp numbers into a two-way interactive communication channel.
Manage customer avatars and conversation history programmatically.
From your application backend to the customer's WhatsApp inbox in milliseconds.
Your server (Laravel, Node.js, Python, or WooCommerce) makes an HTTPS POST request to our REST API endpoint.
Darory Gateway verifies your Bearer token and targets your isolated WhatsApp session using x-instance-id.
The message packet is securely dispatched through your authenticated phone session to the official WhatsApp network.
Customer receives the message within 1.5s. When they reply, our webhook simulator delivers the event back to your server.
As a Darory client, your WhatsApp service comes with an enterprise dashboard designed for seamless operations.
View total instances, active connections, and configured webhooks with real-time operational status indicators.
Toggle token visibility, copy secret tokens instantly, or regenerate API tokens on the fly with automatic confirmation.
Dispatch live test WhatsApp messages to any mobile number directly from the dashboard to verify API connectivity.
Create and configure webhook URLs per instance, or request additional WhatsApp accounts via 1-click tickets.
Start sending messages with 4 lines of code. Copy tested code snippets for cURL, PHP/Laravel, Node.js, and Python.
curl -X POST https://wa.darory.com/wa-api/send-message \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "x-instance-id: 3" \
-d '{
"number": "201000000000",
"message": "Hello from Darory WhatsApp API Gateway!"
}'
use Illuminate\Support\Facades\Http;
$response = Http::withHeaders([
'Authorization' => 'Bearer ' . config('services.whatsapp.token'),
'x-instance-id' => config('services.whatsapp.instance_id'),
'Content-Type' => 'application/json',
])->post('https://wa.darory.com/wa-api/send-message', [
'number' => '201000000000',
'message' => 'Your OTP verification code is: 489230',
]);
if ($response->successful()) {
return $response->json();
}
const axios = require('axios');
async function sendWhatsAppAlert(phoneNumber, text) {
const { data } = await axios.post(
'https://wa.darory.com/wa-api/send-message',
{
number: phoneNumber,
message: text,
},
{
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'x-instance-id': '3',
'Content-Type': 'application/json',
},
}
);
return data;
}
import requests
url = "https://wa.darory.com/wa-api/send-message"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"x-instance-id": "3",
"Content-Type": "application/json"
}
payload = {
"number": "201000000000",
"message": "Order #4892 confirmed! Track your shipment now."
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
import 'dart:convert';
import 'package:http/http.dart' as http;
Future<void> sendWhatsAppMessage() async {
final url = Uri.parse('https://wa.darory.com/wa-api/send-message');
final response = await http.post(
url,
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'x-instance-id': '3',
'Content-Type': 'application/json',
},
body: jsonEncode({
'number': '201000000000',
'message': 'Your verification OTP code is: 954120',
}),
);
print('Status: ${response.statusCode}, Body: ${response.body}');
}
{
"event": "message",
"instanceId": "3",
"data": {
"message": {
"id": {
"fromMe": false,
"remote": "[email protected]",
"id": "A1B2C3D4E5F6"
},
"body": "I need help with my order",
"from": "[email protected]",
"timestamp": 1710000000,
"hasMedia": false
}
}
}
See why businesses choose Darory instead of manual phone operations or rigid Meta Cloud APIs.
| Feature / Capability | Personal WhatsApp / Web | Official Meta Cloud API | Darory WhatsApp Gateway |
|---|---|---|---|
| Onboarding Speed | Instant (1 phone) | 2-4 weeks (Business Manager & documents) | Instant QR code scan (Under 1 minute) |
| Template Requirements | None (manual typing) | Mandatory pre-approved templates | Free dynamic text, links & custom emojis |
| Automated REST API | Not available | Complex Graph API with expiration tokens | Clean RESTful JSON API with static tokens |
| Real-Time Webhooks | No | Complex webhook verification setup | Turnkey HTTP POST webhooks with typing sim |
| Number Verification Pre-flight | No | Incur charges to discover non-users | Instant check via /is-registered-user |
| Client Portal & Testing Tool | None | Clunky Meta Developer Console | Interactive Darory Client Portal |
From online stores to hospitals and corporate ERPs, automate touchpoints where your customers actually read them.
Send instant order confirmations, tracking numbers, shipping milestone alerts, and abandoned cart recovery links with 98% open rates.
Deliver one-time login passwords and account verification codes in under 2 seconds, avoiding SMS delays and telecommunication carrier costs.
Connect directly to your accounting or ERP software to send invoice PDF links, due date reminders, and automated payment receipts.
Route incoming customer questions to your helpdesk or AI agents (ChatGPT/Gemini) through webhooks for instant automated 24/7 support.
Get started with Darory WhatsApp API Gateway today. Request your instance through our client portal and start integrating in minutes.