Complete guide to integrate SHAMBHU WhatsApp Business API into your application
Welcome to SHAMBHU WhatsApp Business API documentation. This guide will help you integrate our powerful API into your application in minutes.
Create your account and subscribe to the Pro Plan to get API access.
Link your official Meta WhatsApp Business Account with SHAMBHU platform.
Navigate to Dashboard → API Settings to get your unique API key.
Use the API endpoints below to send WhatsApp messages programmatically.
All API requests require authentication using your API key. Include your API key in the request body as shown below:
{
"api_key": "YOUR_API_KEY_HERE",
// ... other parameters
}
Send text, media, or template messages to WhatsApp users via the official Meta API.
POST https://shambhu.co.in/api/send_whatsapp_message.php
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key |
String | Required | Your unique API key from dashboard |
phone_number |
String | Required | Recipient's phone number with country code (e.g., 919876543210) |
type |
String | Required | Message type: text, media, or template |
template_name |
String | Optional | Template name (required if type is template) |
language |
String | Optional | Template language code (e.g., en_US, hi_IN) |
message |
String | Optional | Message text (required if type is text) |
curl -X POST https://shambhu.co.in/api/send_whatsapp_message.php \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_API_KEY",
"phone_number": "919876543210",
"type": "template",
"template_name": "hello_world",
"language": "en_US"
}'
<?php
$data = [
"api_key" => "YOUR_API_KEY",
"phone_number" => "919876543210",
"type" => "template",
"template_name" => "hello_world",
"language" => "en_US"
];
$ch = curl_init('https://shambhu.co.in/api/send_whatsapp_message.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Content-Type: application/json'
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
const axios = require('axios');
const data = {
api_key: 'YOUR_API_KEY',
phone_number: '919876543210',
type: 'template',
template_name: 'hello_world',
language: 'en_US'
};
axios.post('https://shambhu.co.in/api/send_whatsapp_message.php', data)
.then(response => {
console.log('Success:', response.data);
})
.catch(error => {
console.error('Error:', error.response.data);
});
import requests
data = {
'api_key': 'YOUR_API_KEY',
'phone_number': '919876543210',
'type': 'template',
'template_name': 'hello_world',
'language': 'en_US'
}
response = requests.post(
'https://shambhu.co.in/api/send_whatsapp_message.php',
json=data
)
print(response.json())
{
"status": "success",
"message": "Message sent successfully",
"message_id": "wamid.HBgNOTE3NjYyNjY2NzY2FQIAERgSQkU5OUVBQ0Y4QzQ2RTdCNzQzAA=="
}
{
"status": "error",
"message": "Invalid API key"
}
Send plain text messages to WhatsApp users.
{
"api_key": "YOUR_API_KEY",
"phone_number": "919876543210",
"type": "text",
"message": "Hello! Welcome to SHAMBHU API"
}
Send pre-approved WhatsApp templates (required for 24h+ conversations).
{
"api_key": "YOUR_API_KEY",
"phone_number": "919876543210",
"type": "template",
"template_name": "order_confirmation",
"language": "en_US"
}
Contact us at support@shambhu.org
Message us at +91 98765 43210