Request
SMS API Request
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> <charges>[CHARGES]</charges> <currency>[CURRENCY]</currency> </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 |
X7011 | Your account is under the verifying progress. Kindly contact us for more information. |
X7012 | The query string is empty. |
X7013 | Please enter your Email address. |
X7014 | Please enter your key. |
X7015 | Invalid Email/Key. |
X7016 | Please activate your account. |
X7017 | Account has been suspended. |
X7018 | Invalid recipient(s). |
X7019 | Please enter your message. |
X7020 | Maximum 10 SMS per recipient(s). |
X7021 | SMS accepted. |
X7022 | Insufficient balance. |
X7023 | Please enter at least 1 recipient. |
X7024 | Duplicate reference ID found. |