The API Parameters and What They Stand For:

* Username: Your TripleClickSMS account username

* Password: Your TripleClickSMS account password

* Sender: The sender ID to show on the receipient's phone

* Message: The text message to be sent

* Recipient : The destination phone numbers. Separate multiple numbers with comma(,)

* 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 future delivery. It should contain the date the message should be delivered. Supported format is "2011-10-01 12:30:00" i.e "YYYY-MM-DD HH:mm:ss"

 

HTTP API Configuration

To our API to your portal is very simple. The steps are outlined below:

* Navigate to the “ADD API” page on your Menu

* The following at the parameters you will need to fill and suggested values

S/N

Parameter

Suggest value and explanations

1.

API Name

A descriptive name for the API. This is need by SPC to identify this API. Use a name you can easy relate with.

Suggestion: TripleClickSMS

 

2.

HTTP API

The URL and parameters needed for sending SMS.

https://www.tripleclicksms.com/index.php?option=com_spc&comm=spc_api&username=YourUsername&password=YourPassword&[email protected]@[email protected]@&[email protected]@[email protected]@&[email protected]@[email protected]@&

Note: All you need to change in the above URL are:

YourUsername:

Change this to your real username. Preferably choose a username without a space

YourPassword:

Change this to real password.

 

3.

API response on Success

Type ‘OK’ in the provided space

 

4.

API Response confirmation

Select “Contains”

 

5.

Account balance API

The URL and parameters needed for checking your SMS balance with us.

https://www.tripleclicksms.com/index.php?option=com_spc&comm=spc_api&username=YourUsername&password=YourPassword&balance=true

Note: All you need to change in the above URL are:

YourUsername:

Change this to your real username. Preferably choose a username without a space

YourPassword:

Change this to real password.

 

6.

API Protocol

Select “HTTP POST”

 

7.

Push to API as

Select “Bulk”

 

* Once you are done with the above, click “Save”

* You can then move one to test the service. It should all work perfectly

 

The server responses 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

 

Example:

For instance, after sending a message, a response similar to the one below might be generated.

OK 21 08033333333,08022222222,08055555555

This means: OK[space]no of sms credits used[space]gsm numbers that failed

where 21=no of sms credits used
and 08033333333,08022222222,08055555555 are the 3 numbers that failed

Member Login

GSM Database

GSM Database

Site Users

Today31
Yesterday108
This week139
This month1884

Tuesday, 22 October 2019 08:57