SMS HTTP API Documentation
Send single or bulk SMS programmatically using GET or POST requests.
Base URL:
http://<host>:<port>/sendtext — provided by your account manager
Send a single SMS using an HTTP GET request with query parameters.
| Method | GET |
| URL | http://<IP>:<port>/sendtext |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey |
String | Required | API key provided by the service provider. |
secretkey |
String | Required | Secret key provided by the service provider. |
callerID |
String | Required | Masking/non-masking sender ID; can be a short code or long code. |
toUser |
String | Required | Recipient mobile number. Example: 880XXXXXXXXX |
messageContent |
String | Required | The SMS text. Supports ASCII and Unicode. |
Send SMS to multiple recipients via GET. Separate numbers with commas in toUser.
| Method | GET |
| URL | http://<IP>:<port>/sendtext |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey |
String | Required | API key provided by the service provider. |
secretkey |
String | Required | Secret key provided by the service provider. |
callerID |
String | Required | Masking/non-masking sender ID; can be a short code or long code. |
toUser |
String | Required | Comma-separated mobile numbers. Example: 880XXXXXXXXX,880XXXXXXXXX |
messageContent |
String | Required | The SMS text. Supports ASCII and Unicode. |
Send a single SMS using an HTTP POST request with a JSON body.
| Method | POST |
| URL | http://<IP>:<port>/sendtext |
Request Header
| Parameter | Value | Description |
|---|---|---|
Content-Type |
application/json |
Request body must be valid JSON. |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey |
String | Required | API key provided by the service provider. |
secretkey |
String | Required | Secret key provided by the service provider. |
callerID |
String | Required | Masking/non-masking sender ID; can be a short code or long code. |
toUser |
String | Required | Recipient mobile number. Example: 880XXXXXXXXX |
messageContent |
String | Required | The SMS text. Supports ASCII and Unicode. |
Send SMS to multiple recipients via POST. Separate numbers with commas in toUser.
| Method | POST |
| URL | http://<IP>:<port>/sendtext |
Request Header
| Parameter | Value | Description |
|---|---|---|
Content-Type |
application/json |
Request body must be valid JSON. |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey |
String | Required | API key provided by the service provider. |
secretkey |
String | Required | Secret key provided by the service provider. |
callerID |
String | Required | Masking/non-masking sender ID; can be a short code or long code. |
toUser |
String | Required | Comma-separated mobile numbers. Example: 880XXXXXXXXX,880XXXXXXXXX |
messageContent |
String | Required | The SMS text. Supports ASCII and Unicode. |