What is an SMS gateway and how does it deliver your messages in India?

An SMS gateway is a service that takes a message from your website, app, software or web panel and hands it to the mobile operators, who deliver it to your customer’s phone. It then brings the delivery status back to you. In India, a business SMS gateway also has to pass every message through DLT checks, so your sender ID and template must be approved before anything goes out. This page explains what an SMS gateway does, how a message travels through it, and what you need to start using one.

SMS gateway meaning in simple words

Your software speaks the language of the internet (HTTP and APIs). Mobile networks speak their own telecom language. An SMS gateway sits between the two. You send it a simple request, such as “send this OTP template to 9999999999 from my sender ID”, and it takes care of the operator connections, the checks and the delivery reports.

You can use a gateway in two ways:

  • A web panel, where you type or upload numbers and send a campaign by hand. Good for notices and offers.
  • An SMS API, where your website or app sends messages automatically. Good for OTPs, order updates and alerts.

How an SMS gateway delivers your message in India

Step What happens
1. Your request Your app calls the API, or you click Send in the panel, with the sender ID, the template and the numbers.
2. Gateway checks The gateway checks your API key, that the sender ID and template are approved in your account, that the numbers are valid, and that your wallet has enough balance.
3. Operator and DLT scrubbing The message goes to the operator, which matches it against DLT records: your entity, header, template and PE-TM chain. Promotional messages are also checked against DND preferences and timing rules.
4. Delivery to the phone The operator delivers the SMS to the handset if it is on and reachable.
5. Delivery report The operator sends back a delivery report (DLR). The gateway shows it in your report and can push it to your server by webhook.

If any DLT check fails, the operator blocks the message and returns an error code. That is why most “SMS not delivered” problems in India are DLT problems, not gateway problems.

What an SMS gateway API request looks like

With Fast2SMS, a DLT SMS is one POST request to the bulkV2 endpoint. You pass your approved sender ID, the Message ID of your template, the numbers and the variable values. Your API key goes in the authorization header.

curl -X POST "https://www.fast2sms.com/dev/bulkV2" \
  -H "authorization: YOUR_API_KEY" \
  -d "route=dlt" \
  -d "sender_id=DEMOTR" \
  -d "message=10001" \
  -d "variables_values=Rahul|4521" \
  -d "numbers=9999999999"

Every approved template in DLT Manager has a Sample Code button that gives you this request in cURL, PHP, Node.js or Python with your own sender ID and Message ID filled in.

Sample Code window on a DLT template with a cURL request to the bulkV2 endpoint using sender_id, message, route dlt, numbers and variables_values
Ready-made API code for each approved template.

What you get back: delivery reports

A good gateway tells you what happened to each number. In the Fast2SMS Delivery Report, each campaign opens into Delivery Details with a status for every receiver.

Delivery Details window with a donut chart of Delivered, Failed, Sent and Pending counts, a phone preview of the SMS and a Receivers table
Per-number status for one campaign.
Status Meaning
Delivered The operator confirmed the SMS reached the phone.
Sent Handed to the operator, delivery report not received yet.
Pending Not yet sent to the operator.
Failed, Blocked, DND, Invalid Not delivered. The description shows the reason, such as a switched-off phone or a DLT block.

What you need before you use an SMS gateway in India

  • DLT registration of your business on any one DLT portal, with an approved header and templates.
  • PE-TM binding with your gateway’s telemarketer ID, so operators accept your traffic.
  • A wallet balance. At the time of writing, Fast2SMS DLT SMS cost ₹0.25 down to ₹0.11 per SMS depending on your recharge slab. See the bulk SMS pricing page.
  • An API key, if you want to send from your own software.

Sending in bulk? For high SMS volumes our team offers discounted rates. Talk to our team or see SMS pricing.

Avoid “SMS gateway” apps that send bulk messages from your own SIM card. They skip DLT, break operator rules and usually get the SIM blocked.

Frequently asked questions

What is an SMS gateway?

A service that passes messages from your software or web panel to mobile operators and returns delivery reports to you.

What is the difference between an SMS gateway and an SMS API?

The gateway is the whole service. The API is the door your software uses to send messages through it.

Do I need DLT to use an SMS gateway in India?

Yes, for SMS from your own sender ID. Operators block messages whose header or template is not registered on DLT.

Can an SMS gateway send OTPs?

Yes. With Fast2SMS you can send OTPs with Smart OTP, which works on SMS and WhatsApp with fallback, or with your own DLT OTP template through the DLT SMS API.

Is there a free SMS gateway in India?

Business SMS in India are paid per message, because operators charge for delivery. You can create a Fast2SMS account for free and pay only for what you send.

How fast does a gateway deliver an SMS?

Usually within seconds when the phone is on and the DLT checks pass. Promotional SMS outside 10 AM to 9 PM are held until the morning.