Build secure authentication
AUTHENTICATE_USERS_VIA_WHATSAPP
A developer-first API to dispatch encrypted OTPs globally. Low latency, high throughput, zero friction.
import what_otp
# Initialize client with secure credentials
client = what_otp.Client(api_key="VAULT_LIVE_82x...")
# Dispatch automated WhatsApp OTP
response = client.otp.send(
to="+1234567890",
channel="whatsapp",
length=6
)
print(f"OTP Status: {response.status}")
Real-time Logs
[14:20:01] INFO: Request received from user_882
[14:20:02] SENDING: WhatsApp OTP payload to node_us_east
[14:20:03] SUCCESS: 200 OK | Message SID: WH_72x991
[14:21:45] INFO: OTP verified successfully by user_882
_ awaiting next event...