v1

latestOpenAPI 3.0.02026-07-26592893.0 KB

Verify OTP

Verify the OTP received by the user. Each OTP has a limited number of verification attempts.

post/dev/otp/verify

Headers

Authorizationstring required

Provide "YOUR_API_KEY".

Request body

mobilestring required

10-digit Indian mobile number.

otpstring required

The OTP to verify.

Example request

{
  "mobile": "9999999999",
  "otp": "123456"
}

Response

OTP verified successfully

returnboolean
status_codeinteger
messagestring

Example response

{
  "return": true,
  "status_code": 200,
  "message": "OTP verified successfully"
}