Professional WhatsApp Automation for Developers
WapiBotix offers a powerful RESTful API designed for high-volume WhatsApp automation. Integrate seamlessly with custom CRMs, E-commerce platforms, or notification systems via the Meta Cloud infrastructure.
Include your Bearer Token in the Authorization header for every request to secure your API calls.
Authorization: Bearer YOUR_ACCESS_TOKEN Content-Type: application/json
Trigger pre-approved WhatsApp templates to your customers instantly.
/v1/messages/send
| Field | Type | Required | Description |
|---|---|---|---|
phone_number |
String | Yes | Recipient mobile with country code (e.g., 91XXXXXXXXXX). |
template_name |
String | Yes | The exact name of your approved Meta template. |
field_1, 2... |
String | No | Values for template variables (e.g., Customer Name). |
Access Token from the WapiBotix Dashboard.
Copy and paste these snippets into your project:
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://wapibotix.com/api/v1/messages/send',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => json_encode([
"phone_number" => "91XXXXXXXXXX",
"template_name" => "welcome_msg"
]),
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_TOKEN',
'Content-Type: application/json'
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
import requests
url = "https://wapibotix.com/api/v1/messages/send"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
}
data = {
"phone_number": "91XXXXXXXXXX",
"template_name": "order_update"
}
response = requests.post(url, json=data, headers=headers)
print(response.json())
const axios = require('axios');
const sendWhatsApp = async () => {
try {
const res = await axios.post('https://wapibotix.com/api/v1/messages/send', {
phone_number: '91XXXXXXXXXX',
template_name: 'welcome_msg'
}, {
headers: { 'Authorization': 'Bearer YOUR_TOKEN' }
});
console.log(res.data);
} catch (err) {
console.error(err);
}
};
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"phone_number\": \"91XXXXXXXXXX\", \"template_name\": \"welcome_msg\"}");
Request request = new Request.Builder()
.url("https://wapibotix.com/api/v1/messages/send")
.method("POST", body)
.addHeader("Authorization", "Bearer YOUR_TOKEN")
.build();
Response response = client.newCall(request).execute();
Need support? Email us at wapibotix@gmail.com
© 2026 WapiBotix Solutions