OTP APIs (SMS)
POST /otp/send
Generate and send OTP to a phone number via SMS.
{
"appId": "my-app",
"apiKey": "your-secret-key",
"phone": "919876543210"
}
curl -X POST https://notify.elvatech.in/otp/send \
-H "Content-Type: application/json" \
-d '{"appId":"my-app","apiKey":"your-secret-key","phone":"919876543210"}'
Live API Tester
POST /otp/resend
Regenerate OTP and resend it to the same phone number.
{
"appId": "my-app",
"apiKey": "your-secret-key",
"phone": "919876543210"
}
curl -X POST https://notify.elvatech.in/otp/resend \
-H "Content-Type: application/json" \
-d '{"appId":"my-app","apiKey":"your-secret-key","phone":"919876543210"}'
Live API Tester
POST /otp/verify
Verify OTP received on SMS.
{
"appId": "my-app",
"apiKey": "your-secret-key",
"phone": "919876543210",
"otp": "123456"
}
curl -X POST https://notify.elvatech.in/otp/verify \
-H "Content-Type: application/json" \
-d '{"appId":"my-app","apiKey":"your-secret-key","phone":"919876543210","otp":"123456"}'
Live API Tester
Notify API (SMS)
POST /notify
Send direct SMS notifications through the unified notify API.
{
"appId": "my-app",
"apiKey": "your-secret-key",
"channel": "SMS",
"to": ["919876543210"],
"message": "Your task is approved"
}
curl -X POST https://notify.elvatech.in/notify \
-H "Content-Type: application/json" \
-d '{"appId":"my-app","apiKey":"your-secret-key","channel":"SMS","to":["919876543210"],"message":"Your task is approved"}'
Live API Tester