My account Get a quote

CodeSMS

SMS verification platform with virtual numbers: balance system, multi-provider pool and a sellable API.

CodeSMS

The need

When you sign up for a service, a verification code is sent to your phone. When you don't want to give your own number, or when many verifications are needed, single-use virtual numbers are useful. Providers' prices and stock change constantly, and sometimes one fails. We wrote CodeSMS, our own product, to bring this mess together under one platform.

What we built

  • Provider pool: multiple providers are combined into a single list. The system picks the suitable one, and if an error occurs, it moves on to the next. A provider whose balance runs out is removed from sales automatically.
  • Balance system: transactions run under database locks and are written to a ledger. If no code arrives, the fee is refunded automatically.
  • Pricing engine: cost, automatic exchange rates, and service-, country- or provider-based profit rules work together.
  • API sales: a REST API and an endpoint compatible with common SMS verification APIs are offered. The documentation includes examples in 8 programming languages.
  • Security: mandatory email verification, two-step verification, passkeys, captcha, rate limits and a strict CSP.
  • Management: providers, prices, users, accounting reports and Telegram notifications.

How we built it

The system was written from scratch with framework-free PHP 8.4 and MySQL/MariaDB. Providers are connected through adapters. We can add providers that speak the widely used activation protocol by registering them from the panel, without writing code. Money movements run under database locks, so double refunds and double confirmations are prevented. On the API side, there are signed webhooks, IP restrictions and protection against repeated requests.

Payments for balance top-ups arrive from a separate payment hub through a signed notification. Sensitive settings are stored encrypted. Multiple providers are defined for email, and if one fails, the next takes over. We wrote separate test files for balance, API and admin login.

The result

codesms.org is live. The interface is offered in 12 languages. The site lists more than 3,000 services and more than 200 countries. There is no minimum balance top-up requirement. The fee for activations where no code arrives is refunded to the balance.

More projects

All →
Portly
Open sourceWindows · macOS · Linux

Portly

A free, open-source local web development environment for Windows, macOS and Linux that gives each project its own HTTPS address.

View →
Teacher Assignment Robot
Admin panelEducation

Teacher Assignment Robot

Turn-based, reasoned and transparent teacher assignment under the Turkish Ministry of Education (MEB) rules, with admin, teacher and school panels.

View →
WapFlow
WhatsAppAutomation

WapFlow

WhatsApp bulk messaging, campaign and AI-assisted auto-reply platform that runs in the cloud or as a Windows application.

View →