Free SMS API India | Free SMS Gateway API
Integrate the leading free SMS gateway developer API of India by SMSINDIAHUB. Use our best-in-class RESTful API to connect your software, mobile application, eCommerce store, ERP, and IoT hardware with instant carrier routing.
Send unlimited SMS via HTTP, HTTPS, and SMPP APIs suitable for both low-throughput notifications and high-throughput enterprise pipelines.
SMS API Endpoints With Live Request Formats
Select an API method below to inspect endpoint URLs, required parameters, and sample JSON responses.
Single SMS API (Promotional & Transactional)
http://cloud.smsindiahub.in/vendorsms/pushsms.aspx?user=abc&password=xyz&msisdn=919898xxxxxx&sid=SenderId&msg=test%20message&fl=0
http://cloud.smsindiahub.in/vendorsms/pushsms.aspx?user=abc&password=xyz&msisdn=919898xxxxxx&sid=SenderId&msg=test%20message&fl=0&gwid=2
• user: Your SIH login username.
• password: Your SIH login password or API Key.
• msisdn: Destination mobile number (10 digits or with 91 prefix).
• sid: Approved 6-character alphabetic Sender ID.
• msg: Message content (URL encoded). Note: If using templates, fill approved dynamic fields.
• fl: 1 for Flash message, 0 for standard SMS.
• gwid: Set to 2 for Transactional / DND delivery route.
{"ErrorCode":"000","ErrorMessage":"Success","JobId":"381a8090-b230-42fa-ac04-157cc2142bfa","MessageData":[{"MobileNumber":"919898xxxxxx","MessageParts":[{"MessageId":"919898xxxxxx-67e3765cdf034f438a432eacb88d0c14","MessagePartId":1,"MessageText":"test message"}]}]}
SMS API With Ready-To-Use Sample Code
Copy and paste verified code snippets into your application in PHP, ASP, C#, VB.NET, or Java.
<?php
// SMSINDIAHUB Free SMS Gateway API Integration (PHP cURL)
$user = "your_username";
$password = "your_password_or_apikey";
$msisdn = "9198XXXXXXXX"; // Destination Mobile Number
$sid = "SMSHUB"; // 6-Character Approved Sender ID
$msg = urlencode("Dear User, your verification code is 6547. Valid for 10 mins.");
$fl = "0"; // 0 = Normal SMS, 1 = Flash SMS
$gwid = "2"; // 2 = Transactional / DND Route
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://cloud.smsindiahub.in/vendorsms/pushsms.aspx?user={$user}&password={$password}&msisdn={$msisdn}&sid={$sid}&msg={$msg}&fl={$fl}&gwid={$gwid}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
How to integrate bulk SMS API in PHP?
To integrate Bulk SMS in PHP, first create an account with SMSINDIAHUB to generate your API Key and sender ID. Next, initialize a PHP cURL session or file_get_contents query, pass the target mobile number and approved DLT template content in URL-encoded format, and execute the request.
Why SMS API integration?
SMS API integration is the process required to integrate SMS services with websites, software, mobile applications, and billing portals. It provides the fastest, most reliable method to send automated transactional notifications, 2FA security tokens, payment confirmations, and customer alerts directly from your core platform.
Get Free Test Account →Supported SMS Gateway Developer APIs
Powering 10,000+ Brands Across India.
Direct SMPP & API Connectivity.
From nationalized banks and oil PSUs to airlines and e-commerce leaders, India's top enterprises trust SMSIndiaHub for sub-7s messaging delivery.
















































Convinced? Confused? Have Ideas?
Want to see how SMSINDIAHUB can Help Your Business Achieve the Next Phase of Growth?
Quick setup • Free trial credits • Dedicated manager
Our enterprise communication specialist will contact you shortly with your free demo credits and custom setup.