POST
/otp/resendResend OTP
Revokes any existing OTP for the contact, then sends a new OTP (same flow as send).
Same middleware, rate limits, and cooldown rules as POST /otp/send.
operationId: otpResend
Related documentation
Request
Requires appId and apiKey in the JSON body.
Schemas: Resend via SMS
Resend via SMS
json
{
"appId": "enandi-app",
"apiKey": "your-secret-key",
"phone": "919876543210"
}Responses
200OTP resent successfully
400Validation error
401Unauthorized
403Forbidden
429Rate limited or cooldown
500Internal error
502SMS/email provider failure