Application Programming Interface (API)

Use Our API in Any of Your Website or Apps

You can interface an application, website or system with our messaging gateway by using our very flexible HTTP API connection. Once you're connected, you'll be able to deliver messages or check your balance.

NB: Username is your account username with us and the Password is the account password

The API Parameters and What They Stand For:

API NAME: CriTechSMS

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

HTTP API:

http://critechglobal.com/mysms/components/com_spc/smsapi.php?username=user&password=1234
&sender=@@sender@@&recipient=@@recipient@@
&message=@@message@@

API response on Success: OK
API Response confirmation: Contains

API to Check Your Bulk SMS Balance:

http://critechglobal.com/mysms/components/com_spc/smsapi.php?username=user&password=1234
&balance=true

API response on Success: OK
API Response confirmation: Contains
API Protocol: HTTP GET
Push to API as: Bulk

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

Example:
On success, the following code will be returned
OK 21 08044444444,08055555555,08066666666

i.e OK no of sms credits used gsm numbers that failed
where 21=no of sms credits used
and 08044444444,08055555555,08066666666 are the 3 numbers that failed

Payment Gateway

Benefit of using our Platform:

CriTech::SMS is an affordable platform for sending customized bulk text messages that always get delivered to your recipients, whether they're in Nigeria or elsewhere.