Add email OTP verification to any app in 10 minutes.
Sign up, open Projects and create one for your app (choose sender name, OTP length and expiry). Then open API Keys and generate a key pair:
X-Api-Key — public key, identifies your project.X-Api-Secret — shown once. Keep it on your server only.Call POST /send with the user's email. You receive a request_id.
curl -X POST https://softwearapp.com/otp-api/api/v1/send \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: pk_live_xxx' \
-H 'X-Api-Secret: sk_live_xxx' \
-d '{"email":"user@example.com"}'When the user types the code, call POST /verify with the request_id and otp.
curl -X POST https://softwearapp.com/otp-api/api/v1/verify \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: pk_live_xxx' -H 'X-Api-Secret: sk_live_xxx' \
-d '{"request_id":"req_…","otp":"482913"}'
# → {"ok":true,"verified":true,"email":"user@example.com"}This action cannot be undone.