Flash Start

Hosted verification in 2 steps

Customize your page, redirect users to one link, and verify the returned token on your server.

Preview Mode: Try all 10 themes, live preview & code snippets freely. Create a free account ($1.00 credit) to save and use your live keys.
Use https:// in production, or http://localhost for local testing.
Dark Emerald
Preview Go.aspx
M
MazadX Store
WhatsApp & Telegram Verification
Tap the button inside the phone to preview all 3 steps.

Integrate in 2 Steps

No OTP inputs, no webhooks, no frontend logic required.

1 Redirect user to your hosted page
HTML Link
<!-- Redirect or link your user to RunOTP Hosted Verification -->
<!-- Optional: append &lang=ar for Arabic RTL interface -->
<a href="https://runotp.com/Go.aspx?key=YOUR_API_KEY&ref=ORDER_OR_USER_ID">
    Verify via WhatsApp or Telegram
</a>
2 Verify the returned token on your server
POST /v1/flash/verify
<?php
// Inside your callback page (e.g. verify_done.php):
$token = $_GET['token'] ?? '';
if (!empty($token)) {
    $ch = curl_init("https://api.runotp.com/v1/flash/verify");
    curl_setopt_array($ch, [
        CURLOPT_POST => true,
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => ["Content-Type: application/json", "x-api-secret: YOUR_API_SECRET"],
        CURLOPT_POSTFIELDS => json_encode(["token" => $token])
    ]);
    $data = json_decode(curl_exec($ch), true);
    curl_close($ch);

    if (!empty($data['verified']) && $data['verified'] === true) {
        $verifiedPhone = $data['phone'];       // e.g. 2010xxxxxxxx
        $clientRef     = $data['client_ref'];  // Your ORDER_OR_USER_ID
        // Success! Token is burned atomically. Activate user in DB.
    }
}