Validate an OTP
Header Parameters
API Key provided by Tuned Global for accessing the service.
Query Parameters
The mobile phone number where the OTP was sent to. Optional if email is provided.
The one-time password provided by the user.
The email where the OTP was sent to. Optional if msisdn is provided.
Response
OK
Response Attributes
Bad Request
Forbidden
Not Found
Server Error
Response
Status Codes
200
OK
Success - OTP validated successfully.
400
Bad request
The request was unacceptable, often due to missing a required parameter.
401
Unauthorized
The request was unacceptable, often due to missing a required parameter.
402
Request Failed
The parameters were valid but the request failed.
403
Forbidden
The API key doesnt have permissions to perform the request.
404
Not Found
The requested resource does not exist.
409
Conflict
OTP is validated successfully and user already exists.
Error Codes
400
otp validation failed
401
maximum attempts reached.
601
msisdn, email or otp not supplied.
603
msisdn not valid.
610
otp validation successful and user already exists