Effective way to increase the sales and profitability of your business! +60 12-508 2073

Communicate With KlasikSMS APIs In Your App

Integrate KlasikSMS service in your app and start to send SMS with more simple.

Integrate KlasikSMS API In Your App!

API KlasikSMS is a platform for you to build your own message app by using our infrastructure. It can let you send SMS straight away from your app. You just need to add few lines of code to function SMS and can send SMS alert automatic, notification, marketting message and many more to your customer.
Read our API document and understand how to integrate to your system.

Steps to send SMS with API

Request

SMS API Request

https://www.klasiksms.com/api/sendsms.php?email=[EMAIL]&key=[KEY]&recipient=[RECIPIENT]&message=[MESSAGE]&referenceID=[CUSTOMREFENCEID]

Parameters:

Parameters Explanation
[EMAIL] Email address
[KEY] API Key
[RECIPIENT] Mobile number of recipient.
- Mobile number with country code.
- One request for every recipient.
- For sending multiple recipient, the separator should be a comma (,) and there should not be a space.
[MESSAGE] Message content.
- One single SMS contain 160 character and 70 character for Unicode.
- Series SMS contain 153 character and 67 character for Unicode.
- All Malaysia mobile number will deduct 7 character for "RM 0.00" in front of every SMS.
- Maximum 10 series SMS.

According to SKMM, you must insert price info in front of every SMS. You can use "Free msg/RM 0.00/Msj ini percuma/Msj percuma" in front of each SMS. For more information, please refer to Terms & Condition
[CUSTOMREFENCEID] An unique reference id from your system to avoid duplicate request.

Response

API response

                                <sms>
                                    <statusCode>[STATUSCODE]</statusCode>
                                    <statusMsg>[STATUSMSG]</statusMsg>
                                    <sms>
                                        <items>
                                         <recipient>[RECIPIENT]</recipient>
                                         <referenceID>[REFERENCEID]</referenceID>
                                         <part>[PART]</part>
                                        </items>
                                    <sms>
                                 <sms>
                            

Parameters:

Parameters Explanation
[STATUSCODE] API response
[STATUSMSG] Show the process of sending SMS. View all status code.
[REFERENCEID] Status explanation.
[PART] Reference number for future inquiry.

Status Code:

Parameters Explanation
1126 Your account is under the verifying progress. Please contact us for more information.
1204 The query string is empty.
1206 Please enter your email address.
1207 Please enter your key.
1208 Invalid email address or key.
1209 Please activate your account.
1210 Account has been suspended.
1602 Invalid recipient(s).
1603 Please enter your message.
1605 Maximum 10 SMS per recipient(s).
1606 SMS accepted.
1608 Insufficient balance.
1609 Please enter at least one recipient.
1610 Duplicate reference id found.

Sign up now and start to send SMS from your app!