Skip to main content
POST
/
v1
/
send-otp
Send OTP
curl --request POST \
  --url https://api.otpedge.com/v1/send-otp \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": "<string>",
  "app": "<string>"
}
'
{
  "success": true,
  "req_id": "oe_a1b2c3d4e5f6",
  "status": "dispatched"
}

Documentation Index

Fetch the complete documentation index at: https://docs.otpedge.com/llms.txt

Use this file to discover all available pages before exploring further.

Request Body

to
string
required
The recipient’s phone number in E.164 format (e.g., 919876543210).
app
string
required
The name of your application, used for branding in the message.

Request Examples

curl -X POST https://api.otpedge.com/v1/send-otp \
     -H "Authorization: Bearer your_api_key_here" \
     -H "Content-Type: application/json" \
     -d '{
       "to": "919876543210",
       "app": "MySecureApp"
     }'

Response Examples

{
  "success": true,
  "req_id": "oe_a1b2c3d4e5f6",
  "status": "dispatched"
}