mutation

verifyEmailForgotOTP

Verify one-time password sent to user's email for resetting a forgotten password.
Arguments
platform
String
ID of the application.
verifyEmailForgotOtpRequestSchemaInput
VerifyEmailForgotOtpRequestSchemaInput
Describes the request structure to verify OTP for forgot email.
Response
forgot_token
String
A token used for resetting the forgotten password.
success
Boolean
Whether the OTP verification was successful.
Mutation
1mutation verifyEmailForgotOTP(
2 $platform: String
3 $verifyEmailForgotOtpRequestSchemaInput: VerifyEmailForgotOtpRequestSchemaInput
4) {
5 verifyEmailForgotOTP(
6 platform: $platform
7 verifyEmailForgotOtpRequestSchemaInput: $verifyEmailForgotOtpRequestSchemaInput
8 ) {
9 forgot_token
10 success
11 }
12}
Try it
Input Variables
1{
2 "platform": "platform",
3 "verifyEmailForgotOtpRequestSchemaInput": {
4 "email": "[email protected]",
5 "otp": "otp"
6 }
7}
Response
1{
2 "verifyEmailForgotOTP": {
3 "forgot_token": "forgot_token",
4 "success": true
5 }
6}