OTP without DLT for hotels, cafes and restaurants
Hotels, cafes and restaurants can use OTP without DLT for guest Wi-Fi login, QR code table ordering, loyalty sign-up and checking a phone number on a table or room booking form. Booking confirmations, "your table is ready" messages, bills, feedback requests and offers need the business's own DLT registration. The guest sees a short login code with your property's name, sent from DiOTP's DIORBT header.
By Vivek Singh, Founder, Diorbit TechnologiesUpdated
Key facts
- Price
- ₹0.26 to ₹0.40 per OTP plus 18% GST, from a prepaid wallet. No setup fee, no monthly fee.
- Setup time
- Same day. Test on your own number in minutes, then go live.
- Sender name
- DIORBT, DiOTP's registered header (shown with an operator prefix, for example VM-DIORBT).
- Message
- "123456 is your login OTP for Your Company. Do not share it with anyone. Powered by Diorbit Technologies!" The wording is fixed; your company name fills the name slot.
- Compliance
- Sent under DiOTP's own registered DLT entity, header and pre-approved OTP template. You register nothing.
- Limits per number
- 1 code every 30 seconds, 3 per hour, 10 per day.
- Later
- Move to your own sender ID when your DLT registration is ready, with no code changes.
Where do guests meet an OTP?
In hospitality the OTP is rarely the main event. It is the small step before something the guest actually wants: the Wi-Fi password in the lobby, the menu on the table, the points on a loyalty card, the reserved table on Saturday night. If that step stalls, the guest asks a waiter for help or gives up, so it has to be short and the message easy to read.
A guest is also a stranger you will meet for an hour or a night. You want a real, reachable phone number without asking them to create a password. A one-time code does that, and DiOTP's shared template lets a property switch it on this week, before its own DLT entity and header are approved.
Which hotel and restaurant messages fit the shared login OTP template?
The shared template always says "is your login OTP for" followed by your property's name. Plainly, that suits:
| Step | Shared template? | Why |
|---|---|---|
| Guest Wi-Fi captive portal login | Yes | The guest is logging in to the network |
| QR code table ordering: sign in before ordering | Yes | A login to the ordering page |
| Loyalty or membership sign-up and login | Yes | Sign-up and login |
| Checking the phone number on a table or room booking form | Yes | Phone verification |
| Room or table booking confirmation | No | Needs your own template |
| "Your table is ready" or "your order is ready" alerts | No | Service alert: your own template |
| E-bill, receipt or feedback link | No | Your own template |
| Festival menus, weekend offers, birthday discounts | No | Promotional: your own registration and consent |
Food delivery from your own app is a separate case: the doorstep code belongs on your own template, as the delivery and logistics page explains.
How to set up guest Wi-Fi or table ordering login
- On the captive portal or the QR ordering page, ask for the guest's mobile number and, if you need it, the room or table number.
- Your server (never the guest's browser) calls POST /v1/otp/send with the number. Keep the request_id against that device or table session.
- Show one code field marked autocomplete="one-time-code", so iPhones and supporting browsers offer the code straight from the SMS.
- When the guest submits the code, your server calls POST /v1/otp/verify with the request_id and the code.
- On verified true, open the Wi-Fi session or the menu for that table. Set a session length that matches the stay, for example the checkout date for a room or a few hours for a table.
- If the guest gets 410 expired or 429 too_many_attempts, offer a fresh code, and let staff unlock the table from the counter if the guest is stuck.
The guest-facing page only needs a small form; the API key stays on your server:
HTML and JavaScript: the code step on a Wi-Fi or table ordering page
<form id="otp">
<label for="code">Enter the 6-digit code we sent you</label>
<input id="code" name="code" inputmode="numeric"
autocomplete="one-time-code" maxlength="6" required>
<button>Continue</button>
</form>
<script>
// /guest/verify is your own server route. It calls
// POST https://api-diotp.diorbit.com/v1/otp/verify with your API key.
document.getElementById('otp').addEventListener('submit', async (e) => {
e.preventDefault()
const r = await fetch('/guest/verify', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ code: document.getElementById('code').value }),
})
if (r.ok) location.href = '/menu' // or open the Wi-Fi session
else alert('That code did not work. Ask for a new one.')
})
</script>The OTP autofill guide for Android and iOS explains which autofill methods work with the shared template.
What will the guest see?
Text message
VM-DIORBT
418362 is your login OTP for Green Leaf Restaurant. Do not share it with anyone. Powered by Diorbit Technologies!
The guest is standing in your lobby or sitting at your table, so the name in the message should match the sign on the wall. For a hotel with several outlets, one name for the property is usually clearer than the name of each cafe or bar. The name slot holds up to 30 characters.
What should hotels and restaurants watch out for?
Guests without an Indian number
Live sends go to Indian mobile numbers. Foreign guests at a hotel may not have one, so keep another way in for them, such as a code printed on the room key card or handed out at reception.
Many logins at once
A conference crowd or a full restaurant on a Friday night can log in together. Each API key can send 30 codes a minute, and each phone one code every 30 seconds, three an hour and ten a day. Make Wi-Fi sessions last for the stay so returning guests do not need a new code each time they walk back into range.
One phone, a whole table
At a table of six, only one person needs to verify. Tie the order to the table session after the first login and let others add dishes from the same session, rather than asking each diner for a code.
Staff asking for codes
The message tells guests not to share the code with anyone. Staff should never ask a guest to read out their code; if a guest is stuck, unlock the session from the counter instead.
What does it cost a property?
The same as any DiOTP OTP: ₹0.26 to ₹0.40 per OTP plus 18% GST from a prepaid wallet, with no setup fee, no monthly fee and no charge for the shared template. A single cafe can start on the ₹100 recharge for 250 codes at ₹0.40. Codes stopped by a rate limit are not charged, and long sessions keep the count of codes per guest low. The OTP SMS API without DLT page lists every error your portal may see.
Questions and answers
Can a hotel send booking confirmations without DLT?
No. A room or table booking confirmation is not an OTP, so it needs the hotel's own DLT entity, header and template. The shared template covers only login, sign-up and phone verification codes.
Can I use OTP without DLT for guest Wi-Fi login?
Yes. A guest logging in to your Wi-Fi with a code sent to their mobile is a login, which is what the shared template is approved for.
Does QR code table ordering need DLT?
Not for the sign-in code. A guest verifying their number before ordering fits the shared login template. Messages such as order ready alerts, bills and feedback links need your own DLT registration.
What about foreign guests?
Live sends go to Indian mobile numbers, so keep another way in for guests without one, such as a code given at reception.
Can I send offers to guests who logged in?
Not on the shared template. Offers are promotional messages and need your own DLT registration and the guest's consent.
How quickly can a restaurant start?
The same day. Sign up, test with 10 free messages to your own verified number, then recharge the wallet to send to any Indian mobile number.
