mutation

verifyMobileForgotOTP

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