SMS gateway

What is an SMS gateway and API?

An SMS gateway connects your software to telecom operators. Learn how an SMS API works, the usual parameters, delivery reports, HTTP vs SMPP and what to check.

Light illustration with a doc icon for the sms gateway page

The short answer

An SMS gateway is the bridge between your software and telecom operators. Your system calls the SMS API with a mobile number, a registered header and template, and the text. The gateway passes it to the operator and returns delivery reports. High-volume senders can connect over SMPP instead of HTTP.

What a gateway does

Your application cannot talk to mobile networks directly. The gateway accepts your request, checks it, forwards it to the operator's messaging centre and reports the result back to you.

What an SMS API call contains

  • Authentication, such as an API key.
  • The mobile number.
  • The sender header.
  • The DLT entity and template details, as the provider's documentation requires.
  • The message text, matching the approved template.

Parameter names differ by provider, so follow the provider's documentation.

HTTP and SMPP

HTTP API compared with SMPP
HTTP APISMPP
SetupSimple, works from any languageNeeds an SMPP client
Best forMost apps and websitesVery high volumes

Delivery reports

The gateway returns a status for each message, either by an API call or by a callback to your server. Use it to retry or to switch channel.

What to check before choosing

  • DLT support and clear error messages.
  • Delivery reports and uptime.
  • Throughput for your peak sending.
  • Price. See the SMS API price and the bulk SMS service.

Rules are updated from time to time. Treat this page as a starting point and confirm the current position on the TRAI website or with your messaging provider before you launch a campaign.

Previous: What is an OBD voice call? · Next: SMS template examples for business

Need help setting this up? book a demo or talk to the team. Editorial standards: editorial policy.

Questions about what is an SMS gateway and API?

What is an SMS gateway?

A service that connects your software to telecom operators so you can send and track SMS.

What is the difference between an SMS API and SMPP?

An HTTP API is simple and suits most apps. SMPP is a persistent connection used for very high volumes.

Do I need DLT registration to use an SMS API?

Yes. Each message uses a registered header and an approved template.