The SmartMessage REST API provides high-throughput business messaging and wallet query endpoints for Sri Lankan enterprises across all major telecom networks (Dialog, Mobitel, Airtel, Hutch).
All API requests must include your secret API key inside the custom HTTP request header:
X-API-KEY: your_secret_api_key_here
https://sms.intechitsolutions.com/api/send.php
| Parameter | Type | Status | Description |
|---|---|---|---|
sender_id |
String | REQUIRED | Your approved alphanumeric mask (e.g. "INTECH", "YOURSTORE") |
message |
String | REQUIRED | SMS message body (English ASCII or Sinhala/Tamil Unicode) |
recipients |
Array / CSV | REQUIRED | Mobile numbers array (e.g. ["94771234567"] or "0771234567") |
curl -X POST https://sms.intechitsolutions.com/api/send.php \
-H "X-API-KEY: your_secret_api_key" \
-H "Content-Type: application/json" \
-d '{
"sender_id": "YOURBRAND",
"message": "Your verification code is 4920. Valid for 5 mins.",
"recipients": ["94771234567"]
}'
https://sms.intechitsolutions.com/api/balance.php
Retrieve your live credit balance in LKR, current SMS price tier, estimated messages remaining, and list of authorized sender masks.
curl -X GET https://sms.intechitsolutions.com/api/balance.php \ -H "X-API-KEY: your_secret_api_key"
{
"status": "success",
"code": 200,
"client": {
"id": 14,
"name": "Smart Cashier Store",
"status": "active"
},
"billing": {
"currency": "LKR",
"balance": 2450.50,
"sms_rate": 0.85,
"estimated_sms_remaining": 2882
},
"sender_ids": [
"SmartCash",
"IntechAlert"
],
"server_time": "2026-10-07 14:15:00"
}
Running a WooCommerce store in Sri Lanka? Connect directly with our official plugin. Zero coding required.
Automated Order Status SMS • Courier Waybill Tracking • COD Phone OTP Fraud Shield
smartmessage-sms-for-woocommerce.zip and click Activate.The gateway automatically cleans and standardizes phone numbers to standard 94XXXXXXXXX format:
0771234567 → 94771234567771234567 → 94771234567+94771234567 → 94771234567