Opens in a new tab
New
SMS MCP server: Let your AI agents send SMS and voice messages
Learn more
2FA · VERIFY-API Verification codes

2FA codes per Telegram, calls and SMS, With an API.

The Verify API from LOX24 sends verification codes for login, registration, and password reset via the appropriate channel: first via Telegram for 2 cents, otherwise via voice call or SMS. You set the order of the codes according to your priorities. You do not have to register an sender in any country for this.

  • Telegram from 2 cents
  • Without sender registration
  • Automatic fallback
One code, three ways
POST /verify_codes
01 · TELEGRAM

First via Telegram

If the recipient receives Telegram, the code will be sent there for 2 cents. Without Telegram, the message will automatically be forwarded after a short wait.
02 · PHONE CALL

Then by phone call

A call reads the code in 20 languages. Ideal for countries where SMS is expensive.
03 · SMS

Last via SMS

As the final step, the code is sent via SMS. Where registration is required, LOX24 automatically uses a generic sender.
TELEGRAM
€0,02 /Code
SENDER
Without registration
What companies send codes for
Login
Registration
Password reset
Payment release
New device
Telegram
Voice call
Login
Registration
Password reset
Payment release
New device
Telegram
Voice call
TWO GREAT ADVANTAGES

Cheaper delivery without the need for sender bureaucracy

 

Traditional SMS providers send every code as an SMS, regardless of the cost of the destination country, and in many countries they require a registered sender. The Verify API from LOX24 solves both problems.

COSTS

Routing according to your priorities

If the recipient is using Telegram, the code costs only 2 cents. In countries with expensive SMS charges, a phone call replaces SMS. You decide the order yourself, depending on whether cost, speed, or delivery reliability are most important to you.

DELIVERY

Automatic fallback

If the code doesn't reach a channel, the API tries the next one. Your users get their code, and you don't have to build any repetition logic.

SENDER

No registration per country

In countries without registration requirements, your sender appears. In countries with registration requirements, LOX24 automatically replaces them with a generic sender. You save on forms, waiting times, and cancellations.

ROUTING

You decide which channel comes first

In the request, you specify a sequence of Telegram, voice call, and SMS messages. The API attempts to reach the channels in sequence until the code arrives. Failed Telegram attempts are free; you only pay for the channel that delivered it.

  • The channels are tried in their order, SMS always being the last step.
  • Waiting time for Telegram can be set from 30 seconds to 60 minutes
  • Standard texts in 20 languages or your own template {{code}}
  • Custom code or random code with 4 to 8 digits
  • Status, channel, and cost per code per webhook
About the API documentation
POST /verify_codesAnswer: 201 Created
{
  "phone": "+491701234567",
  "code_length": 6,
  "long": "DE",
  "routing_strategy": [
    { "channel": "telegram", "timeout_sec": 30 },
    { "channel": "voice", "sender_id": "+493075435114" },
    { "channel": "sms", "sender_id": "LOX24" }
  ]
}
// Result per webhook: delivered_channel, status, cost
PRICES

You only pay for the channel that delivered it

 

No setup fee, no minimum order quantity, no contract duration. Failed Telegram attempts are free. Voice calls and SMS cost the normal prices of the price list, depending on the country. The costs per code are shown in the field after delivery. cost the API response.

TELEGRAM

€0,02/Code

  • Delivery in the Telegram app
  • No sender required
  • No Telegram: continue free of charge to the next channel
SPEECH CALL

by country · Price list

  • Code is read out in 20 languages
  • Also on the fixed network
  • Affordable alternative in expensive SMS countries
SMS

by country · Price list

  • Your sender or automatically generated generic, without registration
  • Standard texts in 20 languages
  • Always as the last step in the routing
WHY PHONE NUMBER

Why codes via SMS and phone call are still useful

 

Passkeys and authenticator apps are on the rise. Nevertheless, most companies continue to rely on codes sent to the phone number. There are good reasons for this.

REACH

Works on any phone

Their users do not need an app or an additional account. A phone number is enough; by phone call, even a landline number is acceptable.

AVAILABILITY

Even without the Internet

SMS and calls arrive without a data connection, for example abroad or with poor reception.

CONVERSION

No setup required

No one needs to install an authenticator app beforehand. This reduces the number of failures during registration and login.

IDENTITY

Fewer fake accounts

Having a confirmed phone number per account makes mass recording more complex.

RECOVERY

Getting access back

Anyone who loses their smartphone, passkey, or authenticator will be able to get back into their account using the phone number.

RISK-BASED

Only if necessary

Combined with the Anti-Fraud Check, request a code only for suspicious logins. Inappropriate users can get through without any problems.

Honestly: SMS isn't the best choice for everything

SMS codes are not phishing-resistant and can be intercepted during SIM swapping. For particularly valuable accounts, it is best to use them as one factor among several, along with Passkeys or risk-based with the Anti-Fraud Check. Telegram and voice calls as additional channels increase delivery security.

USE CASES

What companies use the Verify API for

 

Registration

Confirm the phone number when registering and make it more difficult to create fake accounts.

Login

Second factor for logging in, permanent or only for conspicuous logins.

Password reset

Make sure that the account holder really sets a new password.

Payment release

Confirm transfers, orders, or payments using the code.

New device

Request a code when someone logs in from an unknown device.

Account changes

New email address or bank account details only need to be entered with a code.

Check phone number

Ensure that a given number exists and is reachable.

International users

Users in many countries can send and receive messages without registering as senders.

FAQ

Frequently asked questions about the Verify API

The Verify API from LOX24 is an interface only for verification codes. It sends codes for login, registration, or password reset via Telegram, voice call, or SMS, in a sequence you specify, with automatic fallback.

In the request, you specify an order of priority: first Telegram, then voice call, then SMS. If the code does not arrive on a channel, the API automatically tries the next one. SMS is always at the last place.

A code via Telegram costs 2 cents at LOX24; failed attempts are free. Voice calls and SMS cost the normal prices of the price list, depending on the destination country. The actual costs per code are provided by the API in the field. cost.

No. In countries without registration requirements, the Verify API from LOX24 assumes the sender for SMS and voice calls. In countries with registration requirements, LOX24 automatically replaces the sender with a generic sender. There is no need to register for each country.

The API first tries to deliver via Telegram. If the recipient does not have a Telegram or the code does not arrive within the set waiting time, it proceeds with the next channel. You can set the waiting time between 30 seconds and 60 minutes.

In 20 languages, including German, English, French, Italian, Spanish, Polish, Dutch and Turkish. Alternatively, you can use a custom template with the placeholder. {{code}}.

Yes. You provide your own 4 to 8-character code or have LOX24 generate a random number code. Upon request, the code is deleted after shipment at LOX24.

The API reports status, routed channel, and costs via webhook. For each step in the routing, there is a separate entry in the history, so you can also see which channels were not successful.

For most applications, yes, especially as a second factor. However, SMS codes are not phishing-resistant. For particularly valuable accounts, a combination with Passkeys or a risk-based use with the Anti-Fraud Check from LOX24 is recommended.

Yes. With LOX24, you register without obligation and receive a 50 cent starting balance, enough for the first test codes.

Send codes only when there is a risk

With the Anti-Fraud Check from LOX24, you only request a code if a login or registration is suspicious.
Go to Anti-Fraud Check
RELATED

More security with LOX24

 

The Verify API can be combined with fraud testing and automated SMS, all through one account.

Anti-fraud check

Risk score for registration, ordering and login, in just a few seconds.

Discover
RISK SCORE

SMS API

Sending, delivery reports, and receiving through one REST interface.

Discover
REST API

A2P SMS

Automated SMS from your applications, from confirmation to status notification.

Discover
A2P

Test the Verify API now

Sign up for free, send your first code via Telegram, phone call or SMS, and test it with 50 cents in starting credit. No setup fee, no contract duration.

TELEGRAM FOR 2 CENTS
NO BASE FEE
WITHOUT SENDER REGISTRATION
AUTOMATIC RECOVERY