Our powerful and incredibly easy SMS text API

SMS API Integration, SMS API Gateway, Two-Way SMS

Our SMS API makes it easy to integrate SMS into your website, application or CRM system. A few simple lines of code is all it takes to add SMS functionality and send automated SMS alerts, notifications, marketing messages and more to your clients.

Cut and paste our SMS API code to start sending text messages in minutes. Our API gateway is fully supported with detailed documentation and full developer SMS code examples. See how you can integrate into our SMS API gateway and read all of our supporting API Documentation here. Also find out our API Reference to learn more.

Send first SMS from your application!

API Documentation

Get Started with the SMShubs.net API

This defines the SMS API:

  • Request - send a sms to your user.
  • Response - ensure that your request to the SMS API was successful.


An SMS API request look like:


This request contains:
  • Base URL
  • Parameter

Base URL

All request to the SMS API must contain:



The following table shows the parameters you use in the request:

Parameter Description
[EMAIL] Email address
[KEY] API Key.( Find your API key at Settings > Profile )
[SENDER] Recipient received sender.
- Is optional params.
- Specific route only.
[RECIPIENT] Recipient mobile number.
- Mobile number with your country code.
- One recipient one request.
[MESSAGE] Message body.
- A single SMS may contains 160 characters, or 70 characters for Unicode.
- Concatenated SMS may contains 153 characters, or 67 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/Msj 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.


An SMS API response looks like:



The following table shows the parameters in the response:

Parameter Description
[Status Code] Show how the SMS send is processing. See all the Status codes.
[STATUSMSG] Status explanation.
[REFERENCE] Your reference for any future enquiries.
[PART] Total SMS for the message.

Status Code

The following table shows the description of status codes in the response:

Status Code Description
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.
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).
1608 SMS accepted.
1609 Please enter at least one recipient.
1610 Duplicated reference id found.