Assign modules on offcanvas module position to make them visible in the sidebar.

Sepcial Promotion




You can now send bulksms/single sms from your website using our gateway by using our trusted and reliable HTTP API on your website.

This specially designed for website owner to send sms from their website and also allow their users to send sms if configured to do so.

To Send Sms From Your Website Use the Below API

http://swifansms.com/index.php?option=com_spc&comm=spc_api&username=user& 
password=1234&sender=@@sender@@&recipient=@@recipient@@&message=@@message@@&

To Check Your Balance Use The Below API

http://swifansms.com/index.php?option=com_spc&comm=spc_api&username=user&password=1234&balance=true

Parameters

  • recipient : The destination phone numbers. Separate multiple numbers with comma(,).
  • username: Your swifansms.com account username.
  • password: Your swifansms.com account password.
  • sender: The sender ID to show on the receiver's phone.
  • message: The text message to be sent.
  • balance: Set to true only when you want to check your credit balance.

 

The values that could be returned 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

2916=Blocked message content
2917=Blocked sender ID

 

Example:

On success, the following code will be returned

OK 21 08064964276,08044454213,08036677778

i.e OK<space>no of sms credits used<space>gsm numbers that failed

where 21=no of sms credits used

and 08064964276,08044454213,08036677778 are the 3 numbers that failed.