application/json

Body Required

  • otp_id string
  • otp string

Responses

  • 200 application/json

    OTP Verified Successfully

    Hide response attribute Show response attribute object
    • status string
  • 400

    Invalid OTP

  • 401

    Unauthorized

POST /verifyOTP
curl \
 --request POST 'https://api.fast2sms.com/verifyOTP' \
 --header "Content-Type: application/json" \
 --data '{"otp_id":"123456","otp":"9876"}'
Request examples
{
  "otp_id": "123456",
  "otp": "9876"
}
Response examples (200)
{
  "status": "verified"
}