API Documentation
BotLinkd API Documentation
Connect your software to the Official Cloud API or the Web API. Use these endpoints to send messages, media, and template notifications programmatically.
🔑 Your API Credentials
Keep Secret
Cloud API AppKey:
b07b9b41-xxxx-xxxx-xxxx-c4aaa0e79b1c
Cloud API AuthKey:
2983429384293849283492
Log in to view your actual keys.
1. Send Text Message (Cloud API)
Use this endpoint to send a standard text message via the Official WhatsApp Business API.
| Parameter | Type | Required |
|---|---|---|
appkey |
String | Yes |
authkey |
String | Yes |
to |
String | Yes |
message |
String | No |
curl --location --request POST 'https://botlinkd.com/api/whatsapp/message' \ --form 'appkey="YOUR_APP_KEY"' \ --form 'authkey="YOUR_AUTH_KEY"' \ --form 'to="447123456789"' \ --form 'message="Hello from BotLinkd"'
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://botlinkd.com/api/whatsapp/message',
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => array(
'appkey' => 'YOUR_APP_KEY',
'authkey' => 'YOUR_AUTH_KEY',
'to' => '447123456789',
'message' => 'Hello from BotLinkd'
),
));
$response = curl_exec($curl);
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://botlinkd.com/api/whatsapp/message',
formData: {
'appkey': 'YOUR_APP_KEY',
'authkey': 'YOUR_AUTH_KEY',
'to': '447123456789',
'message': 'Hello from BotLinkd'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
import requests
url = "https://botlinkd.com/api/whatsapp/message"
payload={
'appkey': 'YOUR_APP_KEY',
'authkey': 'YOUR_AUTH_KEY',
'to': '447123456789',
'message': 'Hello from BotLinkd'
}
response = requests.request("POST", url, data=payload)
print(response.text)
Response:
{ "status": "Success", "data": { "status_code": 200 } }
2. Send Media (Web API)
Send images or documents via the Web API.
| Parameter | Required | Description |
|---|---|---|
app_key | Yes | Web App Key |
auth_key | Yes | Auth Key |
type | Yes | 'image', 'audio', 'document' |
url | Yes | Public file URL |
curl --location --request POST 'https://botlinkd.com/api/whatsapp-web/send-message' \ --form 'app_key="YOUR_WEB_KEY"' \ --form 'auth_key="YOUR_AUTH_KEY"' \ --form 'to="447123456789"' \ --form 'type="image"' \ --form 'url="https://site.com/img.png"'
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://botlinkd.com/api/whatsapp-web/send-message',
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => array(
'app_key' => 'YOUR_WEB_KEY',
'auth_key' => 'YOUR_AUTH_KEY',
'to' => '447123456789',
'type' => 'document',
'url' => 'https://site.com/file.pdf'
),
));
echo curl_exec($curl);



