Business messaging on WhatsApp, simplified.
Aadhini eMessenger helps you send notifications, reminders, and support messages using the official WhatsApp Cloud API, with a simple dashboard and developer-friendly webhooks.
Use cases: alerts, reminders, order updates, customer support.
<?php
// Basic webhook handler for WhatsApp Cloud API (callback URL)
// Set this file URL in Meta > Webhooks configuration
$input = file_get_contents('php://input');
$payload = json_decode($input, true);
// Handle messages
if (isset($payload['entry'][0]['changes'][0]['value']['messages'][0])) {
$msg = $payload['entry'][0]['changes'][0]['value']['messages'][0];
$from = $msg['from'] ?? '';
$text = $msg['text']['body'] ?? '';
// TODO: store to DB or trigger your logic
file_put_contents(__DIR__ . '/logs/whatsapp.log',
date('c') . ' | ' . $from . ' | ' . $text . PHP_EOL,
FILE_APPEND
);
}
// Verification (GET)
if (isset($_GET['hub_mode']) && $_GET['hub_mode'] === 'subscribe') {
$verify_token = 'YOUR_VERIFY_TOKEN';
if (($_GET['hub_verify_token'] ?? '') === $verify_token) {
echo $_GET['hub_challenge'] ?? '';
exit;
}
}
http_response_code(200);
Official Cloud API
Built around the WhatsApp Business Platform Cloud API for reliable, scalable business messaging and template-based notifications.
Automation ready
Connect your CRM, hospital system, or ERP to send automated reminders, order updates, and alerts via secure webhooks and APIs.
Privacy focused
Clear privacy and data deletion policies provide transparency and give your customers control over their data.
How Aadhini eMessenger works with WhatsApp Cloud API
- Set up your WhatsApp Cloud API app in the Meta Developer Console and obtain your access token and phone number ID.
- Configure the webhook callback URL to point to your Aadhini eMessenger endpoint (for example,
https://yourdomain.com/webhook/index.php). - Use Aadhini eMessenger to receive, log, and respond to inbound messages, and to trigger outbound notifications from your business systems.
Developer quick start
Use the webhook example above together with your own sending logic (via the WhatsApp Cloud API send message endpoint) to build custom workflows for alerts, reminders, and interactive customer support.
You can extend the integration with message templates, media messages, and interactive buttons supported by the WhatsApp Business Platform Cloud API.