Developer Friendly API

Build with HANUOTP API

Integrate WhatsApp, SMS, and Voice OTPs into your applications in minutes.
Simple HTTP GET requests, instant delivery, and real-time reporting.

WhatsApp OTP

Send OTPs via WhatsApp for higher conversion rates and trusted business profile verification.

Learn more

SMS OTP

Traditional SMS verification with high delivery success rates across all major carriers.

Learn more

Voice OTP

Secure audio verification for landlines and accessibility support with text-to-speech.

Learn more
API Reference

Available Endpoints

Simple GET requests to integrate OTP services

GET

WhatsApp OTP

Request Parameters
Parameter Type Required Description
apikey string Yes Your unique API Key
number string Yes Mobile number with country code (e.g., 919876543210)
OTP string Yes The One-Time Password to send
Response Example
{
  "return": true,
  "request_id": "v43...",
  "message": [
    "Whatsapp Message sent successfully."
  ]
}
Example Request
https://api.hanuotp.in/whatsapp-otp.php?apikey=YOUR_API_KEY&number=919876543210&OTP=123456
Implementation (PHP)
$url = "https://api.hanuotp.in/whatsapp-otp.php";
$params = [
    'apikey' => 'YOUR_API_KEY',
    'number' => '919876543210',
    'OTP'    => '123456'
];
$response = file_get_contents($url . '?' . http_build_query($params));
echo $response;
GET

SMS OTP

Request Parameters
Parameter Type Required Description
apikey string Yes Your unique API Key
number string Yes Mobile number with country code
OTP string Yes The One-Time Password to send
Example Request
https://api.hanuotp.in/sms-otp.php?apikey=YOUR_API_KEY&number=919876543210&OTP=123456
Implementation (Node.js)
const axios = require('axios');
axios.get('https://api.hanuotp.in/sms-otp.php', {
    params: {
        apikey: 'YOUR_API_KEY',
        number: '919876543210',
        OTP: '123456'
    }
}).then(res => console.log(res.data));
GET

Voice OTP

Request Parameters
Parameter Type Required Description
apikey string Yes Your unique API Key
number string Yes Mobile number with country code
OTP string Yes The OTP code to be spoken
Example Request
https://api.hanuotp.in/voice-otp.php?apikey=YOUR_API_KEY&number=919876543210&OTP=123456
Implementation (Python)
import requests
url = "https://api.hanuotp.in/voice-otp.php"
params = {
    "apikey": "YOUR_API_KEY",
    "number": "919876543210",
    "OTP": "123456"
}
response = requests.get(url, params=params)
print(response.json())

Ready to Integrate?

Get your API key today and start sending OTPs securely.

Get Your API Key