Through our robust API, you can interface your website, application or system with our gateway by using our HTTP API.
You will be able to send SMS and also check your balance with our API.
To Send
http://karyxmessaging.com/components/com_spc/smsapi.php?username=xxx&password=xxx&sender=@@sender@@&recipient=@@recipient@@&message=@@message@@
To check Balance
http://karyxmessaging.com/components/com_spc/smsapi.php?username=xxx&password=xxx&balance=true&
Parameters
1. recipient : The destination phone numbers. Separate multiple numbers with comma(,)
3. username: Your karyxmessaging.com account username
4. password: Your karyxmessaging.com account password
5. sender: The sender ID to show on the receiver's phone
6. message: The text message to be sent
7. 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
For Instance:
On success, the following code will be returned
OK 40 07055555555,08022222222,08033333333
i.e OK no of sms credits used GSM numbers that failed
where 40=no of sms credits used
and 08033333333,08022222222,08055555555 are the 3 numbers that failed