mutation

sendForgotOTPOnEmail

Send a one-time password to the user's email for verification when resetting a forgotten password.
Arguments
platform
String
ID of the application.
sendEmailForgotOtpRequestSchemaInput
SendEmailForgotOtpRequestSchemaInput
Describes the request structure to send OTP to email.
Response
success
Boolean
Whether the OTP send operation was successful.
resend_email_token
String
A token used to authorize the resending of an OTP via email.
Mutation
1mutation sendForgotOTPOnEmail(
2 $platform: String
3 $sendEmailForgotOtpRequestSchemaInput: SendEmailForgotOtpRequestSchemaInput
4) {
5 sendForgotOTPOnEmail(
6 platform: $platform
7 sendEmailForgotOtpRequestSchemaInput: $sendEmailForgotOtpRequestSchemaInput
8 ) {
9 success
10 resend_email_token
11 }
12}
Try it
Input Variables
1{
2 "platform": "platform",
3 "sendEmailForgotOtpRequestSchemaInput": {
4 "action": "send",
5 "email": "[email protected]",
6 "token": "token"
7 }
8}
Response
1{
2 "sendForgotOTPOnEmail": {
3 "success": true,
4 "resend_email_token": "resend_email_token"
5 }
6}