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
StringID of the application. This parameter is obsolete and will be removed in a future release.
sendMobileOtpRequestSchemaInput
SendMobileOtpRequestSchemaInputDescribes the request structure to send OTP on mobile.
Response
country_code
StringThe country specific prefix for the phone number.
message
StringAdditional information about the operation's result.
mobile
StringThe user's mobile number without the country code.
register_token
StringA token used for registration purposes will be sent when user is not registered.
request_id
StringA random uuid string used to track the OTP send response.
resend_timer
IntThe time in seconds before an OTP can be resent.
resend_token
StringA token used to authorize the resending of an OTP.
success
BooleanWhether the OTP send operation was successful.
Mutation
Try it
Input Variables
Response
Was this section helpful?