Welcome to OTP Edge. This guide will walk you through the three essential steps to implementing secure, production-ready authentication.Documentation Index
Fetch the complete documentation index at: https://docs.otpedge.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Send the OTP
Use your API Key to dispatch a verification code to your user’s WhatsApp number.2. Verify the OTP
When the user enters the code, send it to our verification endpoint. If successful, you will receive an Identity Token.3. Validate the Identity Token (Critical)
To prevent spoofing and ensure the verification happened on our servers, you must verify theidentity_token on your backend.
Think of Step 2 as the Box Office. They give you a Ticket (the JWT). But you still have to walk to the Usher (your backend logic) and show them the Ticket to get into your seat.
Node.js
By following all three steps, you ensure that your login flow is cryptographically secure and tamper-proof.