Back to Docs

Silent OTP API

Zero-friction phone verification without user input

Zero Friction

No user input required

Fraud Prevention

SIM swap detection

Instant

Sub-second verification

Invisible

Seamless UX

Dual-Key Authentication

X-Smsly-Key-Id: sk_live_xxx
X-SMSLY-SDK-KEY: sdk_live_xxx

Quick Start

Python
from smsly import SMSly

# === DUAL KEY SECURITY ===
client = SMSly(
    api_key="sk_live_xxx",
    sdk_key="sdk_live_xxx"
)

# Initiate silent verification
response = client.silentotp.verify("+1234567890")
print(f"Session ID: {response.session_id}")

# Check verification status
status = client.silentotp.check(response.session_id)
print(f"Verified: {status.verified}")

# Get phone trust score
trust = client.silentotp.trust_score("+1234567890")
print(f"Trust Score: {trust.score}")

API Endpoints

POST/v1/silentotp/verifyInitiate silent verification
POST/v1/silentotp/checkCheck verification status
GET/v1/silentotp/status/:idGet session status
POST/v1/silentotp/trustGet phone trust score

Ready to try Silent OTP?