v1
latestOpenAPI 3.0.22026-07-2432112226.7 KBSandbox - 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
| Msisdn | Description | Response |
|---|---|---|
| 6282123060007 | Verify OTP Success | 200 "OTP has been verified" |
| 6282123060008 | User Input Invalid OTP | 404 " OTP not found" |
| 6282123060009 | Exceeded time limit | 422 "OTP cannot be verified because Time limit exceeded" |
post/v2/whatsapp/otp/verify/sandbox
Headers
App-IDstring required
API-Keystring required
Request body
Example request
{
"msisdn": "6282123060001",
"otp": "234123",
"challenge": "update_account"
}Response
Successful Response
Example response
{
"message": "OTP has been verified"
}