object

SendOtpResponse

Describes the successful response on sending OTP on user registration or authentication.
Fields
country_code
String
Country code for the phone number.
email
String
Email id of user.
message
String
Message to specify the OTP send status. Eg. OTP sent, failed to send OTP etc.
mobile
String
Phone number of user.
register_token
String
Unique registration token for user.
request_id
String
Unique request id for the OTP.
resend_email_token
String
Unique token to identify the OTP send request and resend the token on email.
resend_timer
Int
Time after which opt can be resent.
resend_token
String
Unique token to identify the OTP send request and resend the token.
success
Boolean
Specify if the OTP is successfully sent.
user_exists
Boolean
If user is registered or not.
verify_email_otp
Boolean
If email OTP verification is mandatory for registration.
verify_mobile_otp
Boolean
If mobile OTP verification is mandatory for registration.