ELVA Notify Service

☀️
🌙

Internal communication service for OTP and notifications via SMS and EMAIL.

Base URL

https://notify.elvatech.in

Authentication

All protected endpoints require appId and apiKey in the request body.

{
  "appId": "my-app",
  "apiKey": "your-secret-key"
}
SMS
EMAIL

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


        

OTP APIs (EMAIL)

POST /otp/send

Generate and send OTP to an email address.

{
  "appId": "my-app",
  "apiKey": "your-secret-key",
  "channel": "EMAIL",
  "email": "user@example.com"
}
curl -X POST https://notify.elvatech.in/otp/send \
  -H "Content-Type: application/json" \
  -d '{"appId":"my-app","apiKey":"your-secret-key","channel":"EMAIL","email":"user@example.com"}'

Live API Tester


        

POST /otp/resend

Regenerate OTP and resend it to the same email address.

{
  "appId": "my-app",
  "apiKey": "your-secret-key",
  "channel": "EMAIL",
  "email": "user@example.com"
}
curl -X POST https://notify.elvatech.in/otp/resend \
  -H "Content-Type: application/json" \
  -d '{"appId":"my-app","apiKey":"your-secret-key","channel":"EMAIL","email":"user@example.com"}'

Live API Tester


        

POST /otp/verify

Verify OTP received via email.

{
  "appId": "my-app",
  "apiKey": "your-secret-key",
  "email": "user@example.com",
  "otp": "123456"
}
curl -X POST https://notify.elvatech.in/otp/verify \
  -H "Content-Type: application/json" \
  -d '{"appId":"my-app","apiKey":"your-secret-key","email":"user@example.com","otp":"123456"}'

Live API Tester


        

Notify API (EMAIL)

POST /notify (HTML)

Send EMAIL notification with direct HTML content.

{
  "appId": "my-app",
  "apiKey": "your-secret-key",
  "channel": "EMAIL",
  "to": ["user@example.com"],
  "subject": "Welcome",
  "html": "<h1>Hello</h1>"
}
curl -X POST https://notify.elvatech.in/notify \
  -H "Content-Type: application/json" \
  -d '{"appId":"my-app","apiKey":"your-secret-key","channel":"EMAIL","to":["user@example.com"],"subject":"Welcome","html":"<h1>Hello</h1>"}'

Live API Tester


        

POST /notify (Template)

Send EMAIL notification using a template name and data payload.

{
  "appId": "my-app",
  "apiKey": "your-secret-key",
  "channel": "EMAIL",
  "to": ["user@example.com"],
  "subject": "OTP",
  "template": "otp_email",
  "data": {
    "otp": "123456"
  }
}
curl -X POST https://notify.elvatech.in/notify \
  -H "Content-Type: application/json" \
  -d '{"appId":"my-app","apiKey":"your-secret-key","channel":"EMAIL","to":["user@example.com"],"subject":"OTP","template":"otp_email","data":{"otp":"123456"}}'