SMS verification: setup, providers and rules
Guests connect with a verification code sent to their phone. The SMS goes out from the platform account against your quota or credit, or from your own provider account; you turn the method on in your login page.
With SMS verification the guest enters a phone number, types the verification code they receive (6 digits by default) and gets online. The SMS is sent in one of two ways:
| Route | Where the SMS comes from | Cost |
|---|---|---|
| Platform (default) | The platform's (or your reseller's) provider account | Your package's monthly SMS quota first, then SMS credit |
| Your own provider account (BYO) | Your own provider account, under your own approved header | Your provider bills you; no platform credit is used |
Sending order: your own account (if you have one and your policy says so) → your reseller's account → the platform account. The sending policy decides what happens when quota and credit run out.
| Who | What they do |
|---|---|
| Platform administrator | Sets up platform and reseller provider accounts, verifies accounts, opens foreign countries |
| Reseller | Transfers SMS credit to their customers, manages the sending policy and the customer's account |
| Business (customer) | Buys credit or connects their own account, turns the method on in the login page and publishes |
Before you start
- On the platform route: SMS quota in your package or SMS credit on your account. Buy credit under SMS → Credits and quota, or ask your reseller to top it up.
- To send from your own account: an account with a supported provider, enough balance, and a sender
name (header) approved by the provider (up to 11 characters, e.g.
FIRMADI). Messages are not sent with an unapproved header. - Nothing to change on the router: the Hotspotly server sends the SMS, so guests do not need to reach any extra address before login.
- Guest numbers: Turkish mobile numbers are always allowed. Foreign mobile numbers are off by default; the platform administrator can open a country for your account (see Foreign numbers). No SMS is sent to landlines, 0850 or premium-rate numbers.
- Your package includes the SMS login module. If it does not, the method row in the login page designer shows Unavailable with "This method is not included in your package.", and the method is not offered on the guest page. Upgrade with Upgrade on your dashboard (or the Upgrade package button on a locked card), or ask your reseller.
1. Prepare your own provider account (optional)
You only need this section if you want to send SMS from your own provider account. If you send with platform credit, skip to step 3.
Supported providers (shown by their ID in the list):
| Provider | ID | Details needed | Note |
|---|---|---|---|
| NetGSM | netgsm |
username, password |
Optional OTP route (useOtpRoute) |
| İleti Merkezi | iletimerkezi |
apiKey, apiSecret |
Older accounts may use username/password |
| Verimor | verimor |
username, password |
|
| Mutlucell | mutlucell |
username, password |
|
| Öztek SMS | ozteksms |
userCode (kno), username, password |
Turkish mobile numbers only (details) |
| Twilio | twilio |
accountSid, authToken |
Suited to foreign numbers |
| Generic HTTP API | generic |
The provider's HTTP API address and parameters | For providers that are not in the list |
Hotspotly does not sign in to provider consoles or open accounts for you. In your provider console:
- Check that your sender name (header) is approved; if not, apply for one.
- Note the user or key details for sending over the API. If the provider suggests a separate API user, use that one.
- If the account has an IP restriction, allow the Hotspotly server's outbound IP address. Ask our support team for it.
- If the provider asks for a delivery report (DLR) address, enter the Delivery report (DLR) URL value shown in the panel after you save the account.
Menu names differ between providers; when in doubt, check the official documentation or the provider's support.
Öztek SMS account
Following Öztek SMS's official integration document (version 7.1), prepare the account as follows:
- Sign in to the Öztek SMS console, open Kullanıcı İşlemleri → Kullanıcı Bilgileri (user operations → user details) and set API ile SMS gönder (send SMS via API) to Evet (yes).
- If you use the IP restriction on the same page, add the Hotspotly server's outbound IP address (ask our support team for it).
- Note the user code on the same page (
knoin the document). When you add the account in Hotspotly, enter it in User code (kno), your user name inusernameand your password inpassword. - Make sure your sender name (originator) is approved by Öztek SMS. It is 3–11 characters and may
not contain Turkish letters or special characters (e.g.
COMPANY).
Good to know:
- Only Turkish mobile numbers (50x, 53x, 54x, 55x) are supported; the account cannot be put on the foreign route.
- Turkish letters and common punctuation are supported. SMS text with Cyrillic or Arabic script or accented letters (e.g. é) is not sent; use another provider account for templates in those languages. A message is at most 918 characters.
- Öztek SMS blocks an IP address for 24 hours after 10 failed requests from it in one day. Hotspotly therefore checks the number, the sender name and the text before sending and does not forward the request if one of them is invalid. Credentials can only be checked by the provider: do not run repeated tests with an account whose credentials are wrong.
- Hotspotly queries delivery reports from Öztek SMS at regular intervals; you do not need to enter a report address. The account balance is not shown in the Hotspotly panel; follow it in your Öztek SMS console.
A provider that is not in the list
With generic (Generic HTTP API) you define the provider's HTTP address, body template and success
condition yourself. Even when you use a preset, always send a test message from your own
account. Put passwords and keys in the credential
fields, not in the address or the template.
2. Add the provider account in the panel
Credentials no longer live on the customer record but in SMS accounts, and they are write-only: saved values are shown masked, and a field left empty is not changed.
| Account | Where to add it |
|---|---|
| Your own account (customer panel) | SMS → Settings → Own provider account (BYO) |
| The customer's account (reseller panel) | Customers → customer → Customer SMS → Own provider account (BYO) |
| The customer's account (admin panel) | Customers → customer → Open SMS management → Own provider account (BYO) |
| Platform and reseller accounts | Administrator only: SMS Providers → Platform and reseller accounts |
- On that screen press New account.
- Pick the provider from Provider and enter a Label.
- In Approved sender IDs type the header approved by the provider exactly; separate several headers with commas (the first is the default). An account without a header cannot be enabled (except a Twilio Messaging Service).
- Enter the provider's API details under Credentials.
- If the account should also send to foreign numbers, choose the Route (the default is domestic only).
- Tick Default account and Active, then press Save.
- Use Send test SMS to send a test SMS to your own number (a real SMS is sent and billed by your provider; no platform credit is used).
- If the test succeeds, the platform administrator presses Verify. In production an unverified account (Verification pending) is not used for guest traffic.
Changing the provider or a setting that affects sending resets the verification: test again and ask the administrator to verify it again. Changing the label, status, headers or default flag does not. An account with sent messages cannot be deleted; disable it instead.
The sending policy (Sending policy) decides how the account is used:
| Setting | Options |
|---|---|
| Account preference | Own account first (BYO) or Platform first (quota → credit) |
| When quota and credit run out | Send with own account (if any) or Reject (clear guest message) |
| When own account fails | Reject (clear message to the guest) or Switch to platform account (quota → credits) |
| Sender ID | Only the approved headers of the sending account |
Share the details over a secure channel
If you have to pass credentials to your reseller or administrator, do not use plain email or a chat group; where possible, add the account yourself in your own panel.
3. Turn the method on in your login page
- Hotspots → your hotspot → Design → Methods.
- If SMS verification code is not in the list, add it with Add method and press Add.
- On the SMS verification code row, open Method settings.
- In Brand name in the SMS (your company name if empty) enter the name shown in the SMS text (up to 30 characters).
- Press Publish.
If the row shows the Unavailable badge and the note "No SMS provider is configured; this method is not shown on the page.", no usable SMS account is available for your account (your own, your reseller's or an active platform account). Add your own account (step 2) or contact your reseller or support.
The SMS the guest receives is in the language of the login page and looks like this (brand and code are examples):
The last line lets supporting browsers fill in the code automatically. The domain is your login page address. You can change the SMS text and the code format (length, character set) under SMS → Templates; links and promotional text are not allowed in a verification SMS.
4. Verify: connect as a guest
- Join the guest network with a phone; the login page opens.
- Open Login with SMS and enter your mobile number. If foreign countries are open, pick the country first.
- Press Send SMS Code. The SMS arrives within a few seconds.
- Type the code into the code field and press Verify and Connect.
The message appears under SMS → Delivery logs (number masked, with status, segment count and credit used).
Code rules (platform defaults; the administrator can change them):
| Rule | Value |
|---|---|
| Code length | 6 digits (4–8 in the template settings, digits or letters + digits) |
| Valid for | 5 minutes |
| Resend | Growing wait: 60 s, then 120 s, then 300 s |
| Sends per number | At most 5 per hour and 10 per day |
| Per device (MAC) | At most 5 per hour and 10 per day |
| Wrong attempts | After 5 wrong attempts the code is void and the number is locked on that hotspot for 15 minutes |
| Daily, per hotspot | Limit set by the platform (default 500 SMS) |
Foreign numbers
Foreign mobile numbers are off by default and are opened per customer:
- The platform administrator opens the country in the customer's Sending policy, under International numbers, and can give it a Credit multiplier and a Daily cap. Resellers and customers cannot open countries.
- The customer can narrow the open countries per hotspot under SMS → Settings → International numbers per hotspot.
- An account that can send abroad is needed (Route: international or all; e.g. Twilio). Without one, foreign countries do not appear in the country picker.
If only Turkey is open, the login page shows no country picker. Credit for a foreign SMS is charged with the country multiplier.
If the code does not arrive: "Call me"
If a guest does not get the code, they can press Didn't get the code? Call me once the resend wait is over. The code is read twice, digit by digit, in a voice call, and the guest types it into the same code field. After the call, the older SMS code no longer works.
- In the login page designer, open the settings of the SMS (or WhatsApp) method and tick "Call me" voice call fallback if the code does not arrive (uses voice call credit).
- Optionally pick the provider with Voice call provider (empty: first eligible account in the chain). Left empty, the same account order as SMS is used.
- The call fee comes out of your voice call credit. You can see the balance on the SMS screen; your administrator tops it up. If you use your own NetGSM, Verimor or Twilio account, OTP by voice call (with this account) must be on in that account's settings.
The same number is called at most twice in 10 minutes. Calls are listed in the SMS screen's sending log with the Channel: Voice call filter.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| "This method is not included in your package." on the method row in the designer | Your package does not include SMS login; the method is hidden on the guest page | Upgrade with Upgrade on the dashboard to a package with the module, or ask your reseller. Existing data is kept; the module opens within 1 minute. |
| Unavailable in the designer; method not on the page | No active SMS account in the chain | Add your own account or contact your reseller or support |
| The account shows Verification pending | Not tested yet, or not verified by the administrator | Run Send test SMS, then ask the administrator to verify it |
| Guest sees "The SMS could not be sent" | Wrong credentials, unapproved header, no balance, or an IP restriction | Check the details and header in the provider console; allow the IP; send a test |
| "This venue has used up its SMS allowance for now" | Package quota and SMS credit are used up and the policy is "reject" | Buy SMS credit or connect your own account |
| "Please wait a moment before requesting a new code." | The resend wait (60 / 120 / 300 s) has not passed | Resend when the countdown ends |
| "Too many codes were requested for this number." | The hourly or daily limit per number was reached | Try again later |
| "The daily SMS limit for this hotspot has been reached." | The hotspot's daily SMS limit is used up | Offer the guest another method; the limit resets at midnight Istanbul time |
| "SMS cannot be sent to numbers in this country." | The country is not open for your account or for this hotspot | Ask the administrator to open the country, or check the hotspot narrowing |
| "Enter a valid … mobile number" | Landline, 0850/premium or incomplete number; wrong country selected | Check the mobile number and the selected country |
| "The verification code is incorrect or has expired" | Typo, or more than 5 minutes passed | Request a new code |
| "Too many failed attempts." | 5 wrong attempts; the number is locked for 15 minutes | Request a new code when the lock ends |
| Every send from an Öztek SMS account suddenly fails | The provider blocked the server IP for 24 hours after failed requests (wrong credentials or IP permission) | Correct the user code, user name, password and IP permission in the Öztek SMS console; wait for the block to expire or contact Öztek SMS support |
| No SMS arrives and no error is shown | Operator delay, or the number blocks SMS | Check the status under Delivery logs and the provider's delivery report |
Security and data protection
- Provider credentials are stored encrypted, are write-only and are shown masked in the panel. Logs show the phone number masked and never contain the SMS text.
- The code is not stored in plain text on the server and is valid only for that hotspot.
- The guest's phone number is stored as the guest identity and linked to the access logs. Make sure the privacy notice on your login page covers phone numbers: Legal texts and guest consent.
Next steps
- Login methods overview
- Login page designer
- Voucher codes: a good extra method for foreign guests while foreign countries are closed.