SMS-enable your application with our global SMS API. iSMS offers a developer friendly SMS gateway platform for sending text messages to global mobile networks. Our stable and reliable SMS gateway is easy to use and easy to integrate with any applications.

*iSMS account required to make use of any of our APIs.

SMS-enable your application with our global SMS API. iSMS offers a developer friendly SMS gateway platform for sending text messages to global mobile networks. Our stable and reliable SMS gateway is easy to use and easy to integrate with any applications.


SMS Gateway API

Our most popular API is the HTTP to SMS API. The EAPI (HTTP to SMS API) is a RESTful API that uses simple query parameters via URLs. If you can put together a Web page with a form, backed by a scripting language (e.g. PHP), you already have what you need to send SMSs.


HTTP to SMS API Code Samples

The HTTP to SMS API is available in the following languages. Follow the links below to check out the various available code samples.

For more information on how our HTTP API works, please review our API references below.

Send SMS API via HTTP:
http://www.isms.com.my/isms_send.php
Send SMS API via HTTPS:
https://www.isms.com.my/isms_send.php
Send SMS API via HTTP (Mirror):
http://ww2.isms.com.my/isms_send.php
Send SMS API via HTTPS (Mirror):
https://ww2.isms.com.my/isms_send.php
Send SMS by Group ID via HTTP:
http://www.isms.com.my/api_send_sms_by_group.php?un=isms&pwd=isms123&groupid=12345&msg=Hello%20World&type=1&sendid=12345
Send SMS by Group ID via HTTPS:
https://www.isms.com.my/api_send_sms_by_group.php?un=isms&pwd=isms123&groupid=12345&msg=Hello%20World&type=1&sendid=12345
Send SMS by Recipient Name via HTTP:
http://www.isms.com.my/api_send_sms_by_name.php?un=isms&pwd=isms&name=contact1&msg=Hello%20World&type=1
Send SMS by Recipient Name via HTTPS:
https://www.isms.com.my/api_send_sms_by_name.php?un=isms&pwd=isms&name=contact1&msg=Hello%20World&type=1
Send SMS by Phone Number to Single Recipient via HTTP:
http://www.isms.com.my/isms_send.php?un=isms&pwd=isms&dstno=60123456789&msg=Hello%20World&type=1&sendid=12345
Send SMS by Phone Number to Single Recipient via HTTPS:
https://www.isms.com.my/isms_send.php?un=isms&pwd=isms&dstno=60123456789&msg=Hello%20World&type=1&sendid=12345

Multiple Recipient (Separate each recipient with semi-colon ";" ) maximum 300 number per push

Send SMS by Phone Number to Multiple Recipient via HTTP:
http://www.isms.com.my/isms_send.php?un=isms&pwd=isms123&dstno=60123456789;601254888999;6044478955&msg=Hello%20World&type=1&sendid=12345
Send SMS by Phone Number to Multiple Recipient via HTTPS:
https://www.isms.com.my/isms_send.php?un=isms&pwd=isms123&dstno=60123456789;601254888999;6044478955&msg=Hello%20World&type=1&sendid=12345

Contact List

Get Contact List Group via HTTP:
http://www.isms.com.my/api_list_of_contact_group.php?un=isms&pwd=isms123
Get Contact List Group via HTTPS:
https://www.isms.com.my/api_list_of_contact_group.php?un=isms&pwd=isms123
Get Contact List Based on the Group ID via HTTP:
http://www.isms.com.my/api_list_of_contact.php?un=isms&pwd=isms123&groupid=12345
Get Contact List Group via HTTPS:
https://www.isms.com.my/api_list_of_contact_group.php?un=isms&pwd=isms123
Get All Contact List from Phone Book via HTTP:
http://www.isms.com.my/api_list_of_contact.php?un=isms&pwd=isms123
Get All Contact List from Phone Book via HTTPS:
https://www.isms.com.my/api_list_of_contact.php?un=isms&pwd=isms123

Contact Group

Create New Contact Group via HTTP:
http://www.isms.com.my/api_add_contact_group.php?un=isms&pwd=isms123&name=group1
Create New Contact Group via HTTPS:
https://www.isms.com.my/api_add_contact_group.php?un=isms&pwd=isms123&name=group1
Update Group Name via HTTP:
http://www.isms.com.my/api_edit_contact_group.php?un=isms&pwd=isms&name=mygroup&groupid=98765
Update Group Name via HTTPS:
https://www.isms.com.my/api_edit_contact_group.php?un=isms&pwd=isms&name=mygroup&groupid=98765
Delete Group Name via HTTP:
http://www.isms.com.my/api_delete_contact_group.php?un=isms&pwd=isms&groupid=98765
Delete Group Name via HTTPS:
https://www.isms.com.my/api_delete_contact_group.php?un=isms&pwd=isms&groupid=98765

iSMS API Features

Parameter Details Example
*un Client username for iSMS system Login. isms
*pwd Client password for iSMS system Login. isms123
dstno Mobile number that you wish to send a message
(Append 00 for international numbers)
60129007788
*msg The message body (MAX limit : 900 char) Hi, John. How r u?
type Type of SMS
1 - ASCII-Default Value (English, Bahasa Melayu, etc)
2 - Unicode data (Chinese, Japanese, etc)
1
*sendid
(Optional)
Sender ID to be displayed on recipient's mobile phone.
(Please notice that Malaysia Prefix does not support Sender ID)
max. Length 11 characters
61000


Server Response

Return Values :- Upon message submission, iSMS's server platform will provide the user with a corresponding response value for each message.

Error Code Error Description Details
2000 = SUCCESS or EMPTY/BLANK SUCCESS Message Sent.
-1000 UNKNOWN ERROR Unknown error. Please contact the administrator.
-1001 AUTHENTICATION FAILED Your username or password are incorrect.
-1002 ACCOUNT SUSPENDED / EXPIRED Your account has been expired or suspended.
Please contact the administrator.
-1003 IP NOT ALLOWED Your IP is not allowed to send SMS.
Please contact the administrator.
-1004 INSUFFICIENT CREDITS You have run our of credits.
Please reload your credits.
-1005 INVALID SMS TYPE Your SMS type is not supported.
-1006 INVALID BODY LENGTH (1-900) Your SMS body has exceed the length.
Max limit = 900
-1007 INVALID HEX BODY Your Hex body format is wrong.
-1008 MISSING PARAMETER One or more required parameters are missing.
     


Check SMS Balance API

In order to check balance API :-

Parameter Details Example
*un Username of iSMS account isms
*pwd Password of iSMS account isms123


API for Checking SMS Balance


Check SMS Balance via HTTP:
http://www.isms.com.my/isms_balance.php?un=isms&pwd=isms123
Check SMS Balance via HTTPS:
https://www.isms.com.my/isms_balance.php?un=isms&pwd=isms123


API for SMS Task Scheduler

Click HERE for more detail.


URL Encoding Reference

ASCII Character Description URL-encoding Remark
NUL null character %00  
CR carriage return %0D For Break Line used