mutation

sendForgotOTPOnMobile

Send a one-time password to the user's mobile for verification when resetting a forgotten password.
Arguments
platform
String
ID of the application.
sendMobileForgotOtpRequestSchemaInput
SendMobileForgotOtpRequestSchemaInput
Describes the request structure to send OTP on forgot mobile number.
Response
country_code
String
The country specific prefix for the phone number.
message
String
Additional information about the operation's result.
mobile
String
The user's mobile number without the country code.
register_token
String
A token used for completing the registration process.
request_id
String
A random uuid string used to track the OTP send response.
resend_timer
Int
The time in seconds before an OTP can be resent.
resend_token
String
A token used to authorize the resending of an OTP.
success
Boolean
Whether the OTP send operation was successful.
Mutation
1mutation sendForgotOTPOnMobile(
2 $platform: String
3 $sendMobileForgotOtpRequestSchemaInput: SendMobileForgotOtpRequestSchemaInput
4) {
5 sendForgotOTPOnMobile(
6 platform: $platform
7 sendMobileForgotOtpRequestSchemaInput: $sendMobileForgotOtpRequestSchemaInput
8 ) {
9 country_code
10 message
11 mobile
12 register_token
13 request_id
14 resend_timer
15 resend_token
16 success
17 }
18}
Try it
Input Variables
1{
2 "platform": "platform",
3 "sendMobileForgotOtpRequestSchemaInput": {
4 "action": "send",
5 "android_hash": "android_hash",
6 "country_code": "country_code",
7 "mobile": "mobile",
8 "token": "token"
9 }
10}
Response
1{
2 "sendForgotOTPOnMobile": {
3 "country_code": "country_code",
4 "message": "message",
5 "mobile": "mobile",
6 "register_token": "register_token",
7 "request_id": "request_id",
8 "resend_timer": 42,
9 "resend_token": "resend_token",
10 "success": true
11 }
12}