mutation

sendOTPOnEmail

Send a one-time password to the user's email for verification.
Arguments
platform
String
ID of the application.
sendEmailOtpRequestSchemaInput
SendEmailOtpRequestSchemaInput
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 sendOTPOnEmail(
2 $platform: String
3 $sendEmailOtpRequestSchemaInput: SendEmailOtpRequestSchemaInput
4) {
5 sendOTPOnEmail(
6 platform: $platform
7 sendEmailOtpRequestSchemaInput: $sendEmailOtpRequestSchemaInput
8 ) {
9 success
10 resend_email_token
11 }
12}
Try it
Input Variables
1{
2 "platform": "platform",
3 "sendEmailOtpRequestSchemaInput": {
4 "action": "send",
5 "captcha_code": "captcha_code",
6 "email": "[email protected]",
7 "register_token": "register_token",
8 "token": "token"
9 }
10}
Response
1{
2 "sendOTPOnEmail": {
3 "success": true,
4 "resend_email_token": "resend_email_token"
5 }
6}