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 moreSend DLT compliant bulk SMS and transactional messages with your registered templates.
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())
| Parameter | Type | Required | Description |
|---|---|---|---|
| apikey | string | Yes | Your unique API Key |
| sender | string | Yes | Approved Sender ID (e.g., HANUOT) |
| message_id | integer | Yes | Approved Template Primary ID |
| numbers | string | Yes | Comma-separated mobile numbers |
| variable | string | No | Comma-separated variables to replace in template |
https://api.hanuotp.in/dlt.php?sender=HanuAD&message_id=2102550&variable=var1&var2=var2&var3=var3&apikey=YOUR_API_KEY&numbers=10digit_number,10digit_number2
$url = "https://api.hanuotp.in/dlt.php";
$params = [
'sender' => 'HANUAD',
'message_id' => '2102550',
'variable' => 'var1',
'var2' => 'var2',
'var3' => 'var3',
'apikey' => 'YOUR_API_KEY',
'numbers' => '10digit_number,10digit_number2'
];
$response = file_get_contents($url . '?' . http_build_query($params));
echo $response;