Zero-friction phone verification without user input
No user input required
SIM swap detection
Sub-second verification
Seamless UX
X-Smsly-Key-Id: sk_live_xxxX-SMSLY-SDK-KEY: sdk_live_xxxfrom 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}")/v1/silentotp/verifyInitiate silent verification/v1/silentotp/checkCheck verification status/v1/silentotp/status/:idGet session status/v1/silentotp/trustGet phone trust score