Send a one-time password to the user's mobile for verification when resetting a forgotten password.
Arguments
platform
StringID of the application.
sendMobileForgotOtpRequestSchemaInput
SendMobileForgotOtpRequestSchemaInputDescribes the request structure to send OTP on forgot mobile number.
Response
country_code
StringThe country specific prefix for the phone number.
message
StringAdditional information about the operation's result.
mobile
StringThe user's mobile number without the country code.
register_token
StringA token used for completing the registration process.
request_id
StringA random uuid string used to track the OTP send response.
resend_timer
IntThe time in seconds before an OTP can be resent.
resend_token
StringA token used to authorize the resending of an OTP.
success
BooleanWhether the OTP send operation was successful.
Mutation
1mutation sendForgotOTPOnMobile(2 $platform: String3 $sendMobileForgotOtpRequestSchemaInput: SendMobileForgotOtpRequestSchemaInput4) {5 sendForgotOTPOnMobile(6 platform: $platform7 sendMobileForgotOtpRequestSchemaInput: $sendMobileForgotOtpRequestSchemaInput8 ) {9 country_code10 message11 mobile12 register_token13 request_id14 resend_timer15 resend_token16 success17 }18}
Try it
Input Variables
1{2 "platform": "platform",3 "sendMobileForgotOtpRequestSchemaInput": {4 "action": "send",5 "android_hash": "android_hash",6 "country_code": "country_code",7 "mobile": "mobile",8 "token": "token"9 }10}
Response
1{2 "sendForgotOTPOnMobile": {3 "country_code": "country_code",4 "message": "message",5 "mobile": "mobile",6 "register_token": "register_token",7 "request_id": "request_id",8 "resend_timer": 42,9 "resend_token": "resend_token",10 "success": true11 }12}
Was this section helpful?