| Parameters | Explanation |
|---|---|
| [APIKEY] | API Key. (Find your API key at www.maysms.my My Account > Settings) |
| [RECIPIENTS] |
Recipient mobile number. - Mobile number with country code. - Once recipient one request. - One recipient one request. - You can use semi-colon(;) to separate each recipient without space when sending multiple recipients. |
| [MESSAGE] |
Message body. - A single SMS may contain 160 characters, or 70 characters for Unicode. - Concatenated SMS may contains 152 characters, or 63 characters for Unicode. - All Malaysia mobile number will be minus 7 characters “RM0.00” at the beginning of each SMS content. - Maximum of 10 concatenated SMS. As per SKMM guidelines, you shall include price information at the beginning of each SMS. You shall use either “Free msg/RM0.00/Msj ini percuma” at the beginning of the SMS content. For more information, please read our Terms & Conditions. |
| [CUSTOMREFERENCEID] | An unique reference id from your system to avoid duplicate request. |
| [STATUS] | Show the status for send SMS (ok / error) |
| [MSGCODE] | Show code to represent particular status. |
| [REFERENCEID] | Your reference for any future enquiries. |
| [BALANCE] | Your account current balance. |
| [DATA] | Each recipient sending reference ID. |
| Status Code | Description |
|---|---|
| E00002 | Completed successfully. |
| E00082 | Account not active yet. Please contact our support. |
| E00243 | Invalid recipient(s). |
| E00244 | Please enter your message. |
| E00250 | Maximum 10 SMS per recipient(s). |
| E00249 | Please enter at least one recipient. |
| E00251 | Insufficient balance. |
| E00254 | Maximum 100 recipient(s). |
| E00360 | Invalid API Key. |
| E00367 | The message content contains international brand(s). |
| BE00036 | The message not allow to send without company name. Please contact our support to add your company name. |
| BE00037 | The message not allow to send without whitelisted. |
| BE00097 | Duplicated reference id found. |
| BE00129 | Completed successfully(low balance). |
| Param | Data Type | Description | Sample |
|---|---|---|---|
| apiKey | Varchar | API Key. (Find your API key at www.maysms.my My Account > Settings) | abc88888888acbde |
| Varchar | Email. (Find your API key at www.maysms.my My Account > Settings) | [email protected] | |
| templateTitle | Varchar | Template title to be add | AddTemplate02Jun2021 |
| messageContent | Text | Message content wanted to submit for whitelist | Hi, add template through api on 02 June 2020. |
| referenceId | Varchar | Reference ID to be return for you when status callback | 567890 |
| Param | Data Type | Description | Sample |
|---|---|---|---|
| action | String | Return command | templateStatusCallback |
| actionCode | String | Return Code | E00101 |
| status | String | Template status | Approved |
| messageContent | String | Whitelisted message content | Hi, add template through api on 02 June 2020. |
| referenceId | String | Reference ID you passed to us when submit template | 567890 |
| Parameters | Explanation |
|---|---|
| [APIKEY] | API Key. (Find your API key at www.maysms.my My Account > Settings) |
| [EMAIL] | Email. (Find your API key at www.maysms.my My Account > Settings) |