Arguments
formRegisterRequestSchemaInput
FormRegisterRequestSchemaInputDescribes the request structure to register new user.
platform
StringID of the application.
Response
country_code
StringThe country specific prefix for the phone number.
email
StringThe email address provided during registration.
message
StringA string containing additional information about the operation's result.
mobile
StringThe user's phone mobile without the country code.
register_token
StringA token used for completing the registration process.
request_id
StringA random uuid string used to track the registration response.
resend_email_token
StringA token used to authorize the resending of an OTP via email.
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
BooleanA boolean value indicating whether the registration operation was successful.
user_exists
BooleanWhether the user already exists.
verify_email_otp
BooleanWhether email OTP verification is required.
verify_mobile_otp
BooleanWhether mobile OTP verification is required.
Mutation
1mutation registerWithForm(2 $formRegisterRequestSchemaInput: FormRegisterRequestSchemaInput3 $platform: String4) {5 registerWithForm(6 formRegisterRequestSchemaInput: $formRegisterRequestSchemaInput7 platform: $platform8 ) {9 country_code10 email11 message12 mobile13 register_token14 request_id15 resend_email_token16 resend_timer17 resend_token18 success19 user_exists20 verify_email_otp21 verify_mobile_otp22 }23}
Try it
Input Variables
1{2 "formRegisterRequestSchemaInput": {3 "email": "test-email@yourcompany.com",4 "first_name": "first_name",5 "gender": "gender",6 "last_name": "last_name",7 "password": "password",8 "phone": {9 "country_code": "country_code",10 "mobile": "mobile"11 },12 "register_token": "register_token"13 },14 "platform": "platform"15}
Response
1{2 "registerWithForm": {3 "country_code": "country_code",4 "email": "test-email@yourcompany.com",5 "message": "message",6 "mobile": "mobile",7 "register_token": "register_token",8 "request_id": "request_id",9 "resend_email_token": "resend_email_token",10 "resend_timer": 42,11 "resend_token": "resend_token",12 "success": true,13 "user_exists": true,14 "verify_email_otp": true,15 "verify_mobile_otp": true16 }17}
Was this section helpful?