Thursday, April 24, 2014

Bulk SMS API

Bulk SMS APIOur Bulk SMS API is very Flexible in Usage, You can integrate it with CRM, Web Application, Bulk SMS Reseller Website, AFRISOFT SPC, other joomla bulk sms component and Variety of O.S applications such as windows, mac, linux and many more..
We will not Leave you alone to do guess work with our API parameters but we will help you if you come across any implementation problem in your choice of usage.

 

 

HTTP API

Host: 9jasms.com.ng

Port: 80

Protocol: HTTP/HTTPS

Functions: Send SMS, Binary messages, Scheduled messages, check credit Balance

Valid HTTP URL strings for integrating in the database for messaging are stated below.

It offers both HTTP GET and HTTP POST functionality. However, if HTTP GET does not work for you then use HTTP POST but one must work and that is guaranteed.

All access parameters have to be URL-encoded when using GET in order to be properly processed by the 9jasms.com.ng platform. Incoming SMS are sent to your HTTP-listener through HTTP POST (multipart).

NOTE: all URLS in this document refer to http, this can be substituted with https if encrypted and secure channel is preferred.

 

 

HTTP API -

This Basic Example is an API string that will send this message “testing api” to a phone number "080123456789" with custom sender ID "Deji Oke"

-------------

http://www.9jasms.com.ng/components/com_spc/smsapi.php?username=dejioke&password=1234&sender=Deji Oke&recipient=080123456789&message=testing api&

-----------

 

Explanation of parameters used in the example

Parameters

Argument

username

your username on 9jasms.com.ng, in our example username = dejioke

password

Your Password on 9jasms.com.ng, in our esxample, password = 1234

sender

Your Custom sender ID, in our example sender = dejioke

recipient

This is the recipient GSM Number, in our example, recipient = 080123456789

Message This is the message that you are sending, in our example, message = testing api
balance to check balance, Set to true only when you want to check your credit balance
schedule Specify this parameter only when you are scheduling an sms for later delivery. It should contain the date the message should be delivered. Supported format is "2009-10-01 12:30:00" i.e "YYYY-MM-DD HH:mm:ss"


The return values are :

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

 

HTTP API TO CHECK YOUR BALANCE (Parameters still thesame as explained above)

http://9jasms.com.ng/components/com_spc/smsapi.php?username=dejioke&password=1234&balance=true&

 

NOTE

If you have problem configuring Our API please click to contact us, we will do it for free