Use this api to send smses.
URL - http://167.172.14.50:4002/v1/send-sms
METHOD - POST
CONTENT-TYPE - form-data
Response : JSON
Request Parameters
Name | Desc | Type | Option |
---|---|---|---|
apiClientID | API Client ID (Provided above) | Numeric | Mandatory |
key | API Key (Provided above) | String | Mandatory |
secret | API Secret (Provided above) | String | Mandatory |
txtMessage | SMS message | String | Mandatory |
MSISDN | Phone Number | Numeric | Mandatory |
serviceID | Service ID (Provided above) - Default 1 | Numeric | Optional |
Response Parameters
Name | Desc | Type | Option |
---|---|---|---|
status | Status of the request (222 - success, 666 - error) | Numeric | Mandatory |
status_message | Description of status | String | Mandatory |
unique_id | Unique Message ID | String | Optional |
credits | SMS Credits Balance | Numeric | Optional |
curl --location --request POST 'http://167.172.14.50:4002/v1/send-sms?apiClientID=605&key=SLn4VDUnPomPjzB&secret=Igp0D4Yy6BDk6riKHDl4DmbQERp14A&txtMessage=this is a message&MSISDN=254712345678&serviceID=1'
{
"unique_id":378008604,
"status_message":"sent",
"status":222,
"error":null
}