Integrate WhatsApp, SMS, and Voice OTPs into your applications in minutes.
Simple HTTP GET requests, instant delivery, and real-time reporting.
Send OTPs via WhatsApp for higher conversion rates and trusted business profile verification.
Learn moreTraditional SMS verification with high delivery success rates across all major carriers.
Learn moreSecure audio verification for landlines and accessibility support with text-to-speech.
Learn moreSimple GET requests to integrate OTP services
| 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 |
{
"return": true,
"request_id": "v43...",
"message": [
"Whatsapp Message sent successfully."
]
}
https://api.hanuotp.in/whatsapp-otp.php?apikey=YOUR_API_KEY&number=919876543210&OTP=123456
$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;
| 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 |
https://api.hanuotp.in/sms-otp.php?apikey=YOUR_API_KEY&number=919876543210&OTP=123456
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));
| 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 |
https://api.hanuotp.in/voice-otp.php?apikey=YOUR_API_KEY&number=919876543210&OTP=123456
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())