Send a one-time password to the user's email for verification when resetting a forgotten password.
Arguments
platform
StringID of the application.
sendEmailForgotOtpRequestSchemaInput
SendEmailForgotOtpRequestSchemaInputDescribes the request structure to send OTP to email.
Mutation
1mutation sendForgotOTPOnEmail(2 $platform: String3 $sendEmailForgotOtpRequestSchemaInput: SendEmailForgotOtpRequestSchemaInput4) {5 sendForgotOTPOnEmail(6 platform: $platform7 sendEmailForgotOtpRequestSchemaInput: $sendEmailForgotOtpRequestSchemaInput8 ) {9 success10 resend_email_token11 }12}
Try it
Input Variables
1{2 "platform": "platform",3 "sendEmailForgotOtpRequestSchemaInput": {4 "action": "send",5 "email": "test-email@yourcompany.com",6 "token": "token"7 }8}
Response
1{2 "sendForgotOTPOnEmail": {3 "success": true,4 "resend_email_token": "resend_email_token"5 }6}
Was this section helpful?