mutation

sendOTPOnMobile

Send a one-time password (OTP) to the user's mobile number via SMS for verification purposes. The OTP can be used for login, registration, or profile updates.
Arguments
platform
String
ID of the application. This parameter is obsolete and will be removed in a future release.
sendMobileOtpRequestSchemaInput
SendMobileOtpRequestSchemaInput
Describes the request structure to send OTP on mobile.
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 registration purposes will be sent when user is not registered.
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
Loading...
Try it
Input Variables
Loading...
Response
Loading...