FREE Bulk SMS API!

Are you a bulk SMS reseller or bulk SMS website developer in need of a bulk SMS API for your website or application? You’ll find 5star SMS HTTP API simple to integrate and reliable in message delivery.

Our HTTP API is very flexible and enables you to connect with our SMS gateway to send bulk SMS and check your SMS units balance.

The API Parameters and What They Stand For

Username: This is your 5star SMS account username

Password: This is your 5star SMS account password

Sender: This is sender ID to display on the recipient’s phone

Recipient: This is the destination phone numbers. Separate multiple numbers with comma(,)

Message: This is the text message to be sent

Balance: Set this to true only when you want to check your credit balance

Schedule: Specify this parameter ONLY when you are scheduling a message for delivery on later date and time. This should contain the date and time the message should be delivered. Here is the supported format: 2009-10-01 12:30:00. That is, YYYY-MM-DD HH:mm:ss

HTTP API Configuration (for Websites Built With SPC 2 or 3 Joomla Component)

http://www.5starsmsng.com/smsapi.php?username=user&password=1234&sender=@@sender@@&recipient=@@recipient@@&message=@@message@@&

http://www.5starsmsng.com/components/com_spc/smsapi.php?username=xxx&password=yyy&sender=qqq&recipient=www&message=test

In place of qqq put @@sender@@

In place of www put @@recipient@@

In place of test put @@message@@&

 

API response on Success: OK

API Response confirmation: Contains

API to Check Your Bulk SMS Balance

http://www.5starsmsng.com/components/com_spc/smsapi.php?username=xxx&password=xxx&balance=true&

 

API Protocol: HTTP GET

PUSH to API as: Bulk

PHP Function to extract message ID from API response: LEAVE BLANK

 

For Delivery reports

Delivery URL(PUSH)

Login to your bulk SMS provider's SMS Portal, go to personal settings page and enter this value in the "Reseller URL" field.

PHP Function to process delivery reports

Here Are the Return Values:

OK=Successful

2904=SMS Sending Failed

2905=Invalid username/password combination

2906=Credit exhausted

2907=Gateway unavailable

2908=Invalid schedule date format

2909=Unable to schedule

2910=Username is empty

2911=Password is empty

2912=Recipient is empty

2913=Message is empty

2914=Sender is empty

2915=One or more required fields are empty

 

blog comments powered by Disqus