Most SMS providers offer two ways to connect: SMPP, the telecom industry's binary protocol, and an HTTP API, usually REST with JSON. Both deliver the same messages to the same operators. The difference is in how your platform talks to the provider, and that affects throughput, delivery report handling, engineering effort and how easily you can switch suppliers. This guide compares them from a wholesale buyer's point of view.
1. How each one works
SMPP keeps a long-lived TCP connection (a bind) open between your platform (the ESME) and the provider's SMSC. Messages go out as submit_sm PDUs, the provider acknowledges each one with submit_sm_resp, and delivery reports come back on the same connection as deliver_sm. Both sides exchange enquire_link heartbeats to keep the session alive.
An HTTP API is request and response: you send an HTTPS request per message (or per batch) and get a message ID back. Delivery reports arrive later as webhook calls from the provider to a URL you expose.
2. Side-by-side comparison
| SMPP | HTTP API | |
|---|---|---|
| Connection | Persistent TCP bind, binary PDUs | One HTTPS request per message or batch |
| Throughput | High; many requests in flight per bind (windowing), several binds in parallel | Limited by request rate and latency; batching helps |
| Delivery reports | Pushed on the same bind as deliver_sm | Webhooks to your endpoint; you must expose and secure a URL |
| Inbound messages (MO) | Native, on the same bind | Webhooks, if the provider supports them |
| Standardisation | One specification (v3.4) used across the industry | Every provider's API is different |
| Switching suppliers | Usually configuration only: new host, credentials and IPs | Code changes for each new provider |
| Engineering effort | Higher: session handling, windowing, reconnects, encodings | Lower: any language with an HTTP client |
| Network setup | IP whitelisting; TLS or VPN; firewall ports opened | Standard HTTPS; API keys |
3. When SMPP is the better choice
- You are an aggregator, CPaaS platform or carrier. You connect to many suppliers and route between them. With SMPP, adding a supplier is configuration, not development.
- You send sustained high volume. Windowing lets you keep many messages in flight on one connection, without the per-request overhead of HTTP.
- Delivery reports drive your routing. DLRs on the bind arrive in a standard format with standard fields, and the TLV parameters carry structured status and error codes.
- You already run an SMS gateway (Kannel, Jasmin, a commercial SMSC or your own). These speak SMPP natively.
4. When an HTTP API is the better choice
- You are an application team sending OTPs or notifications from your own product, with one provider.
- Volume is moderate or bursty, and you don't want to keep connections open and monitored.
- You need extra channels such as WhatsApp or RCS. These are only available through APIs, so one HTTP integration can cover everything.
- Your infrastructure is serverless or behind dynamic IPs, which makes IP whitelisting for SMPP awkward.
5. Common SMPP pitfalls
- Window too large or too small. Too small caps your throughput; too large overruns the provider and triggers
ESME_RTHROTTLED. Agree the window and TPS during setup. - No reconnect logic. Binds drop: network blips, provider maintenance. Reconnect with backoff and resend anything that never got a
submit_sm_resp. - Using a transmitter bind only. Without a receiver or transceiver bind, delivery reports have nowhere to go.
- Encoding mistakes. Wrong
data_codingvalues turn Unicode text into question marks. See our SMPP bind configuration guide.
6. Common HTTP API pitfalls
- Treating a 200 response as delivery. It only means the provider accepted the request. Delivery is reported later by webhook.
- Webhooks that fail silently. If your endpoint is slow or down, delivery reports are lost or delayed. Return 200 immediately, process asynchronously, and accept retries without duplicating records.
- No rate limiting on your side. Bursts get rejected with HTTP 429; queue and pace your requests.
7. You can use both
Many platforms send their bulk traffic over SMPP and use an HTTP API for low-volume channels, testing or failover. NAMX supports both: SMPP v3.4/v5.0 binds and a REST API with delivery webhooks. If you are evaluating us as a wholesale supplier, see wholesale SMS for aggregators and CPaaS providers, or request a test bind.