SMS API Documentation
Integrate BulkSMSBD with your application. Explore SMS endpoints, JSON and PHP examples, required parameters, balance checks, and response codes.
API Code Example
JSON data format :
One to Many |
Many to Many
PHP Source code : One to Many | Many to Many
PHP Source code : One to Many | Many to Many
Single SMS API
API URL (GET & POST) : https://bulksmsbd.net/api/smsapi?api_key=(APIKEY)&type=text&number=(NUMBER)&senderid=(Approved Sender ID)&message=(Message Content)
Many SMS API
API URL (GET & POST) : https://bulksmsbd.net/api/smsapimany?api_key=(APIKEY)&senderid=(Approved Sender ID)&messages=(Message Content)
Parameter Name |
Meaning/Value |
Required |
Description |
|---|---|---|---|
| api_key | API Key | Yes | Your API Key XXXXXXXXXXXX |
| senderid | Approved Sender ID | Yes | Your Sender id 01XXXXXXXX |
| number | mobile number | Yes | Exp: 88017XXXXXXXX,88018XXXXXXXX,88019XXXXXXXX... |
| message | SMS body | Yes | Please use url encoding to send some special characters like &, $, @ etc |
| messages | SMS body(for Many SMS API) | Yes | Mixed Phone Number and Message accroding to the Correct Format |
Credit Balance API PHP Source Code
API URL (GET & POST) : https://bulksmsbd.net/api/getBalanceApi?api_key=(APIKEY)
Error Success Code & Meaning
Code |
Meaning |
|---|---|
| 202 | SMS Submitted Successfully |
| 1002 | sender id not correct/sender id is disabled |
| 1003 | Please Required all fields/Contact Your System Administrator |
| 1005 | Internal Error |
| 1006 | Balance Validity Not Available |
| 1007 | Balance Insufficient |
| 1011 | User Id not found |
| 1012 | Masking SMS must be sent in Bengali |
| 1013 | Sender Id has not found Gateway by api key |
| 1014 | Sender Type Name not found using this sender by api key |
| 1015 | Sender Id has not found Any Valid Gateway by api key |
| 1016 | Sender Type Name Active Price Info not found by this sender id |
| 1017 | Sender Type Name Price Info not found by this sender id |
| 1018 | The Owner of this (username) Account is disabled |
| 1019 | The (sender type name) Price of this (username) Account is disabled |
| 1020 | The parent of this account is not found. |
| 1021 | The parent active (sender type name) price of this account is not found. |
| 1031 | Your Account Not Verified, Please Contact Administrator.. |
| 1032 | ip Not whitelisted |