Describes the successful response on sending OTP on user registration or authentication.
Fields
country_code
StringCountry code for the phone number.
email
StringEmail id of user.
message
StringMessage to specify the OTP send status. Eg. OTP sent, failed to send OTP etc.
mobile
StringPhone number of user.
register_token
StringUnique registration token for user.
request_id
StringUnique request id for the OTP.
resend_email_token
StringUnique token to identify the OTP send request and resend the token on email.
resend_timer
IntTime after which opt can be resent.
resend_token
StringUnique token to identify the OTP send request and resend the token.
success
BooleanSpecify if the OTP is successfully sent.
user_exists
BooleanIf user is registered or not.
verify_email_otp
BooleanIf email OTP verification is mandatory for registration.
verify_mobile_otp
BooleanIf mobile OTP verification is mandatory for registration.
Was this section helpful?