New guide: how to register your sender ID and templates for India (DLT). Read now →
Log in
Telnxo
SMS API

Reach every phone with SMS that actually arrives

Send OTPs, alerts and campaigns over one REST API, with sender ID and template handling, smart routing and delivery receipts built in.

An AI copilot explains every delayed or failed message in plain English.

Start freeBook a demo
New API key
Name
[app-name]
Key
••••••••••••
Create
Key ready
Scoped key
Revocable
Create an API keyGenerate a scoped API key in the dashboard. Each key can be limited to one sender and revoked at any time.
api.telnxo.com/v1/sms
> POST /v1/messages
< 100 Continue
> Authorization: Bearer ••••
< 200 Key verified
> {"to":"+91…","template":"otp"}
< 202 Accepted
Request accepted
HTTPS
Bearer key
Send a request over HTTPSYour server calls the endpoint with the key in a header. The API answers with a status code at every step.
Settings
Go
PHP
Python
Node
Python
TELNXO_URL=api.telnxo.com
TELNXO_PATH=/v1/messages
TELNXO_KEY=[key]
TELNXO_TLS=on
Test message sent
Any stack
SDKs optional
Drop into any stackAnything that can make an HTTPS request works: add the endpoint and key to your config and keep your code.
PriorityOTPs, alerts
BulkCampaigns
Telnxo routingPacing per carrier
Priority first
Paced behind
Priority queue
Fair pacing
One API, two speedsOTPs and alerts jump the queue while campaigns wait their turn, all through the same endpoint.
Log assistant
AI
Why was msg_a41b delayed?
read_log(msg_a41b) → carrier busy
lookup_code("busy") → Temporary, retry
The carrier asked us to slow down.
It moved to a backup route and was delivered.
Message log
Code reference
Explains codes
Raw log kept
Ask the message log instead of reading itAsk why a message was delayed and the assistant reads the message log, finds the carrier response and explains the fix. The raw log stays one click away.
Delivery events
Signed events
/hooks/sms
200 OK
Analytics
200 OK
CRM sync
200 OK
Signed events
Retries
Results flow back to youDeliveries, failures and replies are signed and posted to your endpoints, so your app always knows the outcome.
API key
Request
Any stack
Priority
AI log reader
Feedback
SMS APIWhatsApp APIRCS messagingVoice and IVRSIP trunkingOTP and verificationWebhooksSender ID registrationTemplatesNumber lookupDelivery analyticsOpt-out listsSMS APIWhatsApp APIRCS messagingVoice and IVRSIP trunkingOTP and verificationWebhooksSender ID registrationTemplatesNumber lookupDelivery analyticsOpt-out lists
Capabilities

A production SMS program, with the controls teams actually need

Sender ID and templates

Register your sender IDs and templates once, and every message is checked against them before it goes out.

Register your sender IDs and templates once and every message is checked against them before it leaves. The platform maps each send to an approved template for the destination country, so rejected or blocked traffic is caught early instead of silently dropped by a carrier.

  • Sender ID and template status shown per country
  • Messages checked before they are accepted
  • Guided registration for each market

Separate keys per app

Create scoped API keys per application, environment or client, so you can rotate or disable one without touching the rest.

A separate key for each application, environment or client means one leaked key never exposes everything. Name keys after what they serve, for example billing, support or staging, and every report and log line is attributed to the right one. Agencies and platforms use this to keep client traffic apart.

  • Rotate or disable one key without touching the rest
  • Usage and logs shown per key
  • Clear ownership for audits and support

Per-key sending limits

Cap volume per key so one runaway job or leaked key cannot drain your balance or your sender reputation.

Sending limits are set on the key itself, so a bug that loops over a list or a leaked key hits a ceiling instead of your whole balance. Limits protect your sender reputation as well as cost: a sudden burst from one app cannot hold up traffic from the others.

  • Limit each key independently
  • Pace sending instead of failing it outright
  • Raise a limit when a real campaign needs it

IP allowlist and quiet hours

Restrict a key to the server addresses you trust, and hold promotional traffic outside local sending windows.

An optional allowlist ties a key to the server addresses you trust, and quiet hours keep promotional traffic inside local sending windows. A stolen key then fails from any other network, and campaigns never wake your customers at night.

  • Add and remove addresses yourself
  • Quiet hours enforced per country
  • Pairs with scoped keys

Automatic opt-out and failure handling

STOP replies and invalid numbers are suppressed for you, and temporary failures are retried on a backup route before they count as failed.

STOP replies and numbers that cannot receive messages are added to your suppression list automatically, so you stop sending to people who opted out or never will receive. Temporary failures are retried on a backup route before they are counted as failed, which protects delivery and saves support time.

  • Opt-outs honoured automatically
  • Invalid numbers suppressed for you
  • Retries on temporary failures

Searchable message logs

Find any message and see its route, carrier response and final status, so support can answer where an SMS went.

Every message has a record you can search: recipient, sender, status, carrier response, route and the final outcome. Support teams can answer 'did this SMS go out, and what did the carrier say' without asking an engineer.

  • Search by number, sender or message ID
  • Carrier responses visible
  • Full status timeline per message

How it works

Your appA backend, CRM or automation calls the API over HTTPS with a scoped key.
Telnxo platformAuthenticates the key, applies limits, checks sender ID and template, picks the best route, retries and paces per carrier.
Carriers and handsetsMessages reach the phone, and receipts flow back to you.
STEP 1

Register your sender ID

Submit your sender ID and templates for the countries you send to. Each one turns green when its registration clears.

STEP 2

Create an API key

Generate a scoped key, then set the sending limit and optional IP allowlist for that app.

STEP 3

Send your first message

Call the messages endpoint from your code, send a test, and confirm the delivery receipt in the message log.

See it in action

SMS API in action

Each stage plays automatically. Select one to pause on it. Illustrative interface: all figures and addresses shown are sample data.

app.telnxo.com/smsSample data
Senders
3
Templates
Approved
Countries
[N]
Sample activityRegister
senderTELNXO submitted
templateotp approved
routelocal route ready
testfirst message accepted
Limit
Per key
Allowlist
2 IPs
Quiet hours
On
Sample activityControl
limitdaily cap applied
allowlistoffice network added
rotateold key disabled
auditchange recorded
Queued
1,240
Retries
Backup route
Opt-outs
Suppressed
Sample activityDeliver
acceptedmessage queued
delayedmoved to backup route
delivereddelivered to handset
opt-outnumber suppressed
Search
By number
Status
Final
History
Full
Sample activityTrace
searchorder confirmation
responsedelivered
retry1 attempt
resultdelivered
Control

Decide exactly who can send, and how much

Every API key is separate, so you can rotate, limit or disable access for one app, environment or client without touching anything else.

  • Separate keys and sending limits per app
  • IP allowlisting for each key
  • Rotate or disable access instantly
  • Usage by key in reports and logs
At a glance01 / 06
AuthenticationScoped API key per app
EncryptionHTTPS (TLS) on every request
LimitsPer key and per workspace
Access controlOptional IP allowlist per key
LogsSearchable message logs with carrier responses
Compatible withAny language that can make an HTTPS request
Overview

What is an SMS API?

An SMS API lets your application send text messages by calling a web endpoint instead of operating carrier connections yourself. Your code posts the recipient, the sender and a template, and the platform handles registration checks, routing and delivery, then reports the outcome back.

Anything that can make an HTTPS request can use it: web and mobile backends, CRMs, billing and ticketing tools, schedulers and no-code automations. The same call sends OTPs, order updates, reminders and campaigns, each on the route that suits its type.

Delivery depends on more than the message. Carriers and regulators judge the sender ID, the template and the consent behind each message, so registration, routing and opt-out handling are part of the product rather than something you bolt on later.

Use cases

Common SMS API use cases

Login and payment codes

Send one-time passwords on the priority route, with expiry and resend handled for you. Failed codes fall back to another route or channel so users are not locked out.

Order and booking updates

Confirmations, dispatch and delivery alerts triggered from your store or booking system, each linked back to the right tracking page.

Appointment and fee reminders

Schedule reminders in the recipient's language and inside local sending hours, so patients, students and customers show up on time.

Collections and account alerts

Balance, due-date and transaction notices on a registered sender ID, with an audit trail of what was sent and when.

Campaigns and offers

Promotional sends with consent checks, throttling and opt-out handling, reported separately from your transactional traffic.

Staging versus production

Use distinct keys for staging and production with different limits and allowlists, so test traffic never reaches real customers.

Choosing a method

SMS or WhatsApp?

Both run on the same platform and API. Pick the channel that fits the message, or use both with fallback.

SMS APIWhatsApp API
Best forOTPs, alerts and reminders to any phoneRich, two-way conversations with customers on WhatsApp
ReachEvery mobile numberPeople who use WhatsApp
SetupSender ID and templates where requiredBusiness account and approved templates
VisibilityDelivery receipts and carrier responsesDelivery and read receipts, plus replies

You can use both. Many teams send OTPs by SMS and conversations by WhatsApp, with automatic fallback between them, under one workspace and one bill.

AI features

AI-assisted SMS

Copilot

Delivery explainer

An AI copilot reads carrier responses and message logs, then explains in plain language why a message was delayed or failed and what to change.

Predictive

Anomaly alerts on volume

Models learn each key's normal sending pattern and flag sudden spikes or drops, such as a runaway loop or a failing route.

Assist

Template review

Drafts are checked against registration rules for the destination country before submission, with suggested fixes for likely rejections.

Assist

Migration assistant

Paste your old provider's settings and the assistant drafts the sender, template and endpoint changes needed to move over.

AI features are assistive: they explain and suggest, and your team approves any change to keys, limits or registrations.

Best practices

Best practices for SMS

Use one key per app

Separate keys let you rotate, limit or disable a single application without disrupting others, and make reports easier to read.

Register before you scale

Submit sender IDs and templates for each country before real traffic. Unregistered or mismatched messages are the most common reason for blocks.

Set per-key sending limits

A sensible cap contains damage from loops and leaked keys. Start close to your real volume and raise it when a campaign needs it.

Keep OTP and promotional traffic apart

Use the right message type for each send. Priority routes stay fast for codes while promotions are paced behind them.

Keep keys out of code

Store keys in environment variables or a secret manager, never in a repository or a mobile app.

Test before you cut over

Send a test message, then read the message log and the delivery receipt. Confirm the sender ID, template and route before moving live traffic.

FAQs

SMS API: frequently asked questions

Still unsure about a setting? Our team can review your setup before you go live.

What is an SMS API and how does it work?

An SMS API accepts a message request from your application and delivers it to the recipient's phone. Your code calls an endpoint with the number, sender and template; the platform checks registration, picks a route, delivers it and sends the result back by webhook.

How do I send my first SMS?

Create a key in the dashboard, register your sender ID where the country requires it, then call the messages endpoint with a test number. The delivery receipt appears in your message log.

Which countries are supported?

[List the supported countries and routes here once confirmed.]

Can I send OTPs and promotions on the same account?

Yes. Each message type uses its own route and template rules, and the dashboard reports them separately.

What happens when a route fails?

Traffic moves to a backup route automatically, and the delivery report shows which route was used.

Do I need to register a sender ID and templates?

Where the destination country requires it, yes. We guide you through each registration and show its status in the dashboard, so you know what is approved before you send.

Can I receive replies?

Yes. Replies to long or short codes are forwarded by webhook, and STOP and HELP keywords are handled automatically.

Does the AI assistant change my settings automatically?

No. The assistant explains delays, flags unusual volume and suggests fixes, but your team approves any change to keys, limits or registrations.

From the blog

Latest analysis, trends and market data

Start messaging in minutes.

Create an account, register your sender and send your first SMS or WhatsApp message.

Get started Talk to sales