To use our API you must be a registered user on Worldsms Portal.
Parameters:
username: Your username on Worldsms Portal.
password: Your password on Worldsms Portal.
sender: This is the sender id that will appear on the recipient's phone. Alphanumeric = 11 Characters, Numeric = 18 characters.
dest: The destination numbers where the message will be sent to. Separated with a comma(,) for multiple recipients.
msg: The message to be sent. 160 characters per message.
Examples:
Single recipient:
http://www.worldsmsportal.com/sms_api.php?username=bulksms&password=smssite&sender=worldsms&dest=2349012345678&msg=Testing the API
Multiple recipients:
http://www.worldsmsportal.com/sms_api.php?username=bulksms&password=smssite&sender=worldsms&dest=2349012345678,08012345678,2348012345678&msg=Testing the API
Resellers:
http://www.worldsmsportal.com/sms_api.php?username=bulksms&password=smssite&sender=@@sender@@&recipient=@@recipient@@&message=@@msg@@&
Return values:
146 = Successful
140 = Usuccessful
141 = Insufficient credit
Credit balance report:
Parameters:
meg_report: The value should be set to "balance" to specify that you are quering your account balance.
username: Your username on Worldsms Portal.
password: Your password on Worldsms Portal.
Examples:
http://www.worldsmsportal.com/sms_api.php?meg_report=balance&username=bulksms&password=smssite