Self-hosted · multi-tenant · pay as you go

Send SMS one-time codes from your own SIM.

Two HTTPS calls — /v1/otp/request and /v1/otp/verify — and a code lands on your user's phone. Codes are generated, hashed and checked on the server; the phone is a dumb pipe that only sends.

1 · Request a code

POST the phone number in E.164. You get a request_id back in milliseconds; the SMS is queued to the phone that is online.

2 · User gets the SMS

The Android gateway on the operator's SIM sends the code. Delivery is reported back, so you can poll /v1/status/<id> instead of guessing.

3 · Verify in your backend

POST request_id + the code the user typed. You get {"valid": true}, or a precise reason: wrong code, expired, already used, locked.

What you get

Tenant isolation by construction

Every key maps to one tenant row. Verify only ever looks at rows owned by that tenant, so a leaked request_id from another customer is a 404.

Honest limits

One OTP per phone per 60 s, 5 wrong attempts then locked, 5-minute expiry. No dashboards you have to babysit; usage counters live in your account.

Keys in a minute

Pay, then the portal creates your tenant and shows a key plus runnable cURL / Python / Node / PHP samples with that key already filled in.

Real test send

Send a genuine OTP to your own number from the dashboard, then verify it, before you write a line of integration code.

Pricing

Billed monthly in MWK. Pay by mobile money or bank transfer — every invoice carries a reference, and your key is issued the moment it is confirmed.

Starter

15,000 MWK

1,000 OTPs / month

One product, light traffic, email support.

Growth

45,000 MWK

5,000 OTPs / month

Production apps, higher volume, priority support.

Scale

120,000 MWK

20,000 OTPs / month

Multi-product teams and dedicated number routing.

Need more volume or a dedicated SIM? Talk to the operator. Payments: Airtel Money: 0992 382 525 (Miracle M.)…

Two calls, that is the whole integration

curl -sS -X POST https://otpapi.vault-of-wisdom.com/v1/otp/request \
  -H "Authorization: Bearer $TENANT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+265991234567","purpose":"login"}'
# {"request_id":"…","expires_in":300,"status":"queued"}

curl -sS -X POST https://otpapi.vault-of-wisdom.com/v1/otp/verify \
  -H "Authorization: Bearer $TENANT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"request_id":"…","code":"123456"}'
# {"valid":true}

Full guide with error codes, retries and client libraries: /docs.