Transactional SMS API: The messages your customers are waiting for.
Order confirmations, shipping updates, account alerts and reminders, sent from your own sender ID on DLT-approved templates, any hour of the day.

How it works
Get started with Transactional SMS in three steps
Register your sender ID
Pick a six-letter header for your brand. We help you get it approved on DLT.
Approve templates
Word your order, payment and reminder messages once, with variables for the details.
Send from your system
Call the API with a template and the values. Messages go out any hour of the day.
Features
What you get with Transactional SMS
Your sender ID
Messages arrive from your brand name, not a random number.
Templates with variables
Approve a template once, then fill in names, amounts and order numbers on every send.
Any language
Unicode messages in Hindi and regional languages, counted and priced correctly.
Sent 24x7
Transactional messages are not held to promotional hours.
Per-message reports
Search any number and see exactly what was sent and when it was delivered.
Webhooks
Delivery and failure callbacks, signed so you can trust them.
24×7
sending, no promotional hours
Unicode
Hindi and regional languages
DLT
registration service
Signed
delivery webhooks
The transactional SMS service, in detail
A transactional SMS service sends the text a customer is waiting for after they do something with your business: the order went through, the parcel left the warehouse, the payment was received, the appointment is tomorrow at four. These messages carry information, never an offer, which is why they can be sent at any hour and reach numbers on the Do Not Disturb register. Talk to us about transactional SMS on the same account and wallet you use for OTPs.
What counts as a transactional message
In everyday use, "transactional" means any message that follows from something the customer did. Under TRAI's DLT rules most of these are registered as service implicit messages, because they go to your own customers about their own order or account. Banks and regulated lenders also have a narrower transactional category for payment OTPs and debit alerts. Whichever category applies, the test is the same: if the customer would be confused or worried not to receive it, it is transactional; if it tries to sell them something, it is not.
Our guide to SMS categories walks through each category with examples, if you are unsure where a message belongs.
Transactional SMS examples
These five templates show the shape DLT expects. The fixed wording is registered once, and each {#var#} is filled in when the message is sent. The brand here is ABC; yours would carry your own name, from a header registered to your business.
| Message | Template text |
|---|---|
| Order confirmation | Hi {#var#}, your ABC order {#var#} for Rs {#var#} is confirmed. We will text you when it ships. |
| Shipping update | Your ABC order {#var#} has been shipped and should arrive by {#var#}. Track it here: {#var#} |
| Payment receipt | ABC has received your payment of Rs {#var#} for invoice {#var#} on {#var#}. Thank you. |
| Appointment reminder | Reminder from ABC: your appointment is on {#var#} at {#var#}. Please keep your booking ID {#var#} handy. |
| Account alert | Rs {#var#} has been debited from your ABC account ending {#var#} on {#var#}. If this was not you, call {#var#}. |
A link or phone number that goes into a variable, as in the shipping update and the account alert, must be whitelisted on DLT before the template is used. A message whose fixed wording differs from the registered template fails the DLT check.
Where a transactional SMS service in India earns its place
Online stores and D2C brands
Order placed, order packed, out for delivery, delivered, return picked up, refund processed. A short update at each step cuts "where is my order" calls to your support team.
Banks, NBFCs and wallets
Debit and credit alerts, EMI due dates, failed autopay warnings and KYC status. These are the messages customers check before they open your app.
Clinics, labs and service businesses
Booking confirmations, the reminder the evening before, and the note that a report is ready to collect.
DLT requirements
Every transactional message must be sent from a header registered to your business, usually six letters close to your brand name, and must match a content template approved on DLT word for word, apart from the {#var#} placeholders for values such as an order number or an amount. You register your business once as a principal entity, then the header, then one template per message format. Unlike OTPs, transactional updates cannot go out on a shared template: the message names your brand and your order, so it needs your own registration.
A transactional SMS service provider can do the paperwork with you, but the entity, header and templates are always registered in your business's name. The rules are the same for any transactional SMS provider India-based businesses choose, DiOTP included.
Our DLT registration service handles the entity, header and templates with you, and writes templates so the fixed wording is right the first time.
How a message moves through the transactional SMS gateway
- An event happens in your system, such as an order moving to "shipped".
- Your server sends the template ID and the values for its placeholders, such as the customer's name and the tracking number.
- The values are placed into the approved text, and the finished message is checked against your DLT registration before it leaves.
- The operator delivers it to the handset and reports back. Delivered or failed is recorded against that message.
- If you have added a webhook, the status is posted to your system so your order page can show it.
Transactional SMS cost in India
Transactional SMS charges come from the same prepaid wallet as OTPs, per message, with a long message counted as more than one part. The rate is quoted for your account. Our pricing page shows how OTP plans work, which is the same prepaid model.
The transactional SMS API
The send call you use for OTPs today is the base for transactional sending: the same API key, JSON body, Idempotency-Key header for safe retries, and error shape. A transactional send adds the template and its values. The SMS transactional API follows the same pattern. This is the OTP call you can use now:
curl -X POST https://api-diotp.diorbit.com/v1/otp/send \ -H "Authorization: Bearer $DIOTP_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: 5f2b8c1e-signup-9876543210" \ -d '{ "to": "9876543210", "country_code": 91, "channel": "sms", "purpose": "signup" }'
const res = await fetch("https://api-diotp.diorbit.com/v1/otp/send", { method: "POST", headers: { Authorization: `Bearer ${process.env.DIOTP_API_KEY}`, "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID(), }, body: JSON.stringify({ to: "9876543210", country_code: 91, channel: "sms", purpose: "signup", }), }); const otp = await res.json(); // Keep otp.request_id: you need it to verify.
import os, uuid, requests res = requests.post( "https://api-diotp.diorbit.com/v1/otp/send", headers={ "Authorization": f"Bearer {os.environ['DIOTP_API_KEY']}", "Idempotency-Key": str(uuid.uuid4()), }, json={ "to": "9876543210", "country_code": 91, "channel": "sms", "purpose": "signup", }, timeout=10, ) otp = res.json() # Keep otp["request_id"]: you need it to verify.
<?php $ch = curl_init("https://api-diotp.diorbit.com/v1/otp/send"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ "Authorization: Bearer " . getenv("DIOTP_API_KEY"), "Content-Type: application/json", "Idempotency-Key: " . bin2hex(random_bytes(16)), ], CURLOPT_POSTFIELDS => json_encode([ "to" => "9876543210", "country_code" => 91, "channel" => "sms", "purpose" => "signup", ]), ]); $otp = json_decode(curl_exec($ch), true); // Keep $otp["request_id"]: you need it to verify.
How transactional messages compare with other channels
| Channel | What it carries | When and to whom |
|---|---|---|
| OTP SMS | A one-time code that proves who the user is | Seconds, while the user waits on a screen |
| Bulk SMS | An offer sent to a list | Daytime only, and DND numbers are skipped |
| Richer messages to people who use WhatsApp | Only reaches numbers registered on WhatsApp | |
| Transactional SMS | Information about an order or account | Any hour, every phone, DND numbers included |
In your dashboard
Templates and sender IDs in one place
Keep every approved template beside its sender ID, see which are live and which are in review, and preview exactly what a customer will receive.
- Variables filled per message
- Unicode for every Indian language
- Status of every template at a glance
Use it for
Where businesses use it most
Each of these is triggered by something the customer did, which is what keeps it transactional rather than promotional.
- Order and shipping updates
- Bank and wallet alerts
- Appointment reminders
- Invoices and payment receipts
Industries
Transactional SMS across industries

E-commerce & D2C
A text at every step from order placed to refund processed, so buyers stop calling to ask where their parcel is.
Get started
Banking, fintech & lending
Debit alerts, EMI due dates and autopay failures, delivered at any hour because customers rely on them.
Get started
Clinics, labs & hospitals
Booking confirmations, a reminder the evening before, and a note when lab reports are ready.
Get startedTransactional SMS: FAQs
Yes. Order updates, account alerts and reminders registered in a service or transactional category are not held to promotional hours, so a 2am shipping update goes out at 2am.
Yes, as long as the message is genuinely about the customer's own order, account or request and is sent on a template registered in the right category.
No. The shared template carries only a one-time code. Order and account updates name your brand and your order, so they need your own DLT entity, header and templates.
It is the sending of messages that follow from something a customer did, such as an order confirmation, a shipping update, a payment receipt or an appointment reminder. They carry information, never an offer, so they can go out at any hour. On DiOTP, talk to us about this service.
Yes. Register the template in that language and send it as Unicode. A Unicode part holds 70 characters instead of 160, so long regional-language messages count as more parts.
More products
One account for every channel
Start building your customer messaging with DiOTP
Free test credits on sign-up, API keys in a minute, and a team that picks up the phone.
