Sandbox - WhatsApp OTP

Verify WhatsApp OTP V2

This method helps you to verify one-time password to destination number in sandbox environment.

To obtain the appropriate response, the payload input must adhere to the predetermined scenario. <br> Input other than the scenario will be considered an Invalid Scenario <br>

Response & Status Description

MsisdnDescriptionResponse
6282123060007Verify OTP Success200 "OTP has been verified"
6282123060008User Input Invalid OTP404 " OTP not found"
6282123060009Exceeded time limit422 "OTP cannot be verified because Time limit exceeded"
post/v2/whatsapp/otp/verify/sandbox

Request

  • Base URL
    https://api.verihubs.com
  • URL
    https://api.verihubs.com/v2/whatsapp/otp/verify/sandbox
  • Auth
    none declared. Required headers: App-ID, API-Key

Headers

App-IDstring required
API-Keystring required

Request body

msisdnstring required

This value is destination number. You need to include international prefix number.

otpstring required

Code received by destination number.

challengestring

This value is a category. You can verify OTP based on the same challenge.

Example request

{
  "msisdn": "6282123060001",
  "otp": "234123",
  "challenge": "update_account"
}

Response

Successful Response

messagestring required

Message

Example response

{
  "message": "OTP has been verified"
}

Changes

No recorded changes to this operation across all 1 revision of this API.