POST https://rhsmsbd.top/api/v1/send
| Parameter | Required | Description |
|---|---|---|
api_token |
Yes | Your unique secret API Key from the dashboard. |
phone |
Yes | Recipient phone number (e.g., 017XXXXXXXX). |
message |
Yes | The content of the SMS. |
$url = "https://rhsmsbd.top/api/v1/send";
$postData = [
"api_token" => "YOUR_API_TOKEN_HERE",
"phone" => "017XXXXXXXX",
"message" => "Hello World"
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($postData));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import requests
url = "https://rhsmsbd.top/api/v1/send"
payload = {
"api_token": "YOUR_API_TOKEN_HERE",
"phone": "017XXXXXXXX",
"message": "Hello World"
}
response = requests.post(url, data=payload)
print(response.json())
curl -X POST https://rhsmsbd.top/api/v1/send \
-d "api_token=YOUR_API_TOKEN_HERE" \
-d "phone=017XXXXXXXX" \
-d "message=Hello World"