Send SMS and Voice messages with ease using our powerful API
https://smsapi.cloudex.top/api/v1/campaigns/sendsms/plain?username=YOUR_USERNAME&password=YOUR_PASSWORD&sender=YOUR_SENDER&text=TEST_MESSAGE&to=88017xxxxxxxx,88018xxxxxxxx
| Parameter Key | Value | Description |
|---|---|---|
| username | User Name | Your Login User Name |
| password | Password | Your Login Password |
| sender | Your Sender ID | Your Approved Sender ID for Voice |
| to | Recipient Mobile Number | Single mobile number (88017XXXXXXX) |
| text | SMS body | N.B: Please use url encoding to send some special characters like &, $, @ etc |
PHP Example:
<?php
$curl = curl_init();
$data =[
"username" => "YOUR_USERNAME",
"password" => "YOUR_PASSWORD",
"sender" => "YOUR_SENDER",
"message" => "A text message sent using Messaging Service",
"to" => "88017XXXXXXXXX,88018XXXXXXXXX"
];
curl_setopt_array($curl, array(
CURLOPT_URL => "https://smsapi.cloudex.top/api/v1/sendsms/plaintext",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => array(
"Content-Type: application/json",
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:". $err;
} else {
echo $response;
}
?>JavaScript Example:
var settings = {
“async”: true,
“crossDomain”: true,
“url”: “https://smsapi.cloudex.top/api/v1/sendsms/plain”,
“method”: “POST”,
“headers”: {
“content-type”: “application/x-www-form-urlencoded”,
},
“data”: {
“user”: “YOUR_USERNAME”,
“password”: “YOUR_PASSWORD”,
“sender”: “YOUR_SENDER”,
“text”: “A text message sent using Messaging Service”,
“to”: “88017xxxxxxx,88018xxxxxxx”
}
}$.ajax(settings).done(function (response) {
console.log(response);
});
Node.js Example
var request = require(“request”);
var options = {
method: ‘POST’,
url: ‘https://smsapi.cloudex.top/api/v1/sendsms/plain’,
headers: {
‘content-type’: ‘application/x-www-form-urlencoded’
},
form: {
user: ‘YOUR_USERNAME’,
password: ‘YOUR_PASSWORD’,
sender: ‘YOUR_SENDER’,
text: ‘A text message sent using Messaging Service’,
to: ‘88017xxxxxxxx,88018xxxxxxx’
}
};request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Success Response
{ “message”: “Success”, “status”: 201, “totalValidNumber”: 1, “cost”: 1, “smsCount”: 1, “apiMessageId”: 1760178819302 }
</blockquote >
https://smsapi.cloudex.top/api/v1/campaigns/sendsms/plain?username=YOUR_USERNAME&password=YOUR_PASSWORD&sender=YOUR_SENDER&to=88017xxxxxxxx&audio=APPROVED_VOICE
| Parameter Key | Value | Description |
|---|---|---|
| username | User Name | Your Login User Name |
| password | Password | Your Login Password |
| sender | Your Sender ID | Your Approved Sender ID for Voice |
| to | Recipient Mobile Number | Single mobile number (88017XXXXXXX) |
| audio | Voice File Name | Approved voice message file name from your account |
PHP Example:
<?php
$curl = curl_init();
$data =[
"username" => "YOUR_USERNAME",
"password" => "YOUR_PASSWORD",
"sender" => "YOUR_SENDER",
"audio" => "APPROVED_VOICE",
"to" => "88017XXXXXXXXX"
];
curl_setopt_array($curl, array(
CURLOPT_URL => "https://smsapi.cloudex.top/api/v1/campaigns/sendsms/plain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => array(
"Content-Type: application/json",
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:". $err;
} else {
echo $response;
}
?>{ “message”: “Success”, “status”: 201, “totalValidNumber”: 1, “cost”: 1, “smsCount”: 1, “apiMessageId”: 1760178819302 }Error Response: If the voice message is not found in your account, you will receive the following error:
{ “status”: 208, “message”: “No voice message found” }Note: Voice messages work similar to SMS messages. The status codes and delivery reports are the same as SMS API. The only difference is the audio parameter which should contain the name of an approved voice file from your account. If the voice file is not found, you will receive status code 208.
https://smsapi.cloudex.top/api/v1/message-logs/get-report?username=YOUR_USERNAME&password=YOUR_PASSWORD&messageId=MESSAGE_ID
Delivery Report Response
{ "status": "COMPLETED", "totalCount": 1, "list": [ { "to": "8801714663372", "status": "DELIVERED_TO_HANDSET", "status_code": 1 } ] }
https://smsapi.bdwebs.com/balance?username=YOUR_USERNAME&password=YOUR_PASSWORDBalance Response
{ "credit": "4489.00" }
| Error Code | Meaning |
|---|---|
| 201 | Success |
| 203 | Invalid mobile number |
| 204 | Message body is empty |
| 205 | Insufficient Balance |
| 207 | Sender Mismatch |
| 208 | No voice message found |
| 401 | Invalid UserName or Password |
| 500 | Internal Error |
In today’s fast-paced digital world, businesses need automated and seamless communication channels. That is why we offer a robust and developer-friendly Bulk SMS API designed to integrate effortlessly into any website, software, CRM, or mobile application. Whether you are running an e-commerce store, a corporate office, an educational institution, or a startup, our Bulk SMS API allows you to automate notifications, promotional campaigns, and alerts with absolute ease. If you are interested, then order our Bulk SMS plan.
Corporate Office (UK):
71-75 Shelton Street, Covent Garden, London, WC2H 9JQ.
Branch Office (BD):
110, Goalbari, Mirpur-14,
Dhaka-1206
Helpline: 09617-200-300
Copyright 2010-2026 © www.bdwebs.com. All Rights Reserved.

