Codes that stay safe

No codes stored in clear
The Verify API keeps a keyed hash of each code, with a time limit and an attempt limit.
Resend rules
A wait between resends and limits per number, per key and per account slow down abuse.
Status for every code
See whether each code was sent, delivered and approved.
Free testing
With a test key the code comes back in the response. No SMS, no charge.
53 countries
The same API for customers in Nigeria, Ghana, Kenya, South Africa and more.
Webhooks
Get a signed callback when a code is approved or expires.

Tips for OTP traffic

  • Use a registered sender ID where the country needs one
  • Keep the message short: the code, your app name and how long it lasts
  • Never put the code in a link
  • Let people request a new code only after a short wait

Start and check a code

Two calls: one sends the code, the other checks what the person typed.

verify.http
POST /v1/verify/start
Authorization: Bearer jtsms_live_YOUR_KEY

{ "to": "+2348031234567", "app_name": "MyShop" }

# 201 Created
{ "id": "vrf_8f2c...", "status": "pending" }

POST /v1/verify/check

{ "id": "vrf_8f2c...", "code": "482913" }

# 200 OK
{ "status": "approved", "valid": true }

Start with a free test key

Create an account, try the API with a test key, then top up when you are ready to send.