post https://api.verihubs.com/v2/otp/verify/sandbox
SMS OTP version change is by introducing a new API version release.
Version changes usually need to be applied immediately to the latest version, in order to get a better API usage experience than the previous version.
The benefits you get if you use a newer version are as follows.
- Increase processing time in API Request and Response
- Improve feature in SMS: Blocking Request, Spam Check, Sequential Phone Number, and Blocked Numbers
- Increase RPS in SMS (before 30rps to 50rps)
- Better developer environment to support future developments
- Improve logging and monitoring on our side
- Improved dependencies and improved service stability
This method helps you to verify one-time password to destination number
The following table describes the msisdn option to be used as an input
Msisdn | Description | Response |
---|---|---|
6282123060007 | Verify OTP Success | 201 "OTP has been verified" |
6282123060008 | Invalid OTP | 404 "OTP Not Found" |
6282123060009 | Exceeded time limit | 422 "OTP cannot be verified because it has already reached the time limit" |
6282123060010 | Invalid OTP | 400 "Invalid OTP" |