Arguments
sendVerificationLinkMobileRequestSchemaInput
SendVerificationLinkMobileRequestSchemaInputDescribes the request structure to send verification link to phone number.
Response
register_token
StringA token used for registration purposes.
request_id
StringA random uuid string used to track the send OTP response.
user
UserDetailDescribes the user details structure.
Mutation
1mutation setMobileNumberAsPrimary(2 $sendVerificationLinkMobileRequestSchemaInput: SendVerificationLinkMobileRequestSchemaInput3) {4 setMobileNumberAsPrimary(5 sendVerificationLinkMobileRequestSchemaInput: $sendVerificationLinkMobileRequestSchemaInput6 ) {7 register_token8 request_id9 user {10 id11 account_type12 active13 application_id14 created_at15 dob16 first_name17 gender18 last_name19 meta20 profile_pic_url21 updated_at22 user_id23 username24 external_id25 rr_id26 }27 }28}
Try it
Input Variables
1{2 "sendVerificationLinkMobileRequestSchemaInput": {3 "active": true,4 "country_code": "country_code",5 "phone": "1+ 418-323-4236",6 "primary": true,7 "verified": true8 }9}
Response
1{2 "setMobileNumberAsPrimary": {3 "register_token": "register_token",4 "request_id": "request_id",5 "user": {6 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",7 "account_type": "account_type",8 "active": true,9 "application_id": "application_id",10 "created_at": "created_at",11 "dob": "dob",12 "first_name": "first_name",13 "gender": "gender",14 "last_name": "last_name",15 "meta": {},16 "profile_pic_url": "profile_pic_url",17 "updated_at": "updated_at",18 "user_id": "user_id",19 "username": "username",20 "external_id": "external_id",21 "rr_id": "rr_id"22 }23 }24}
Was this section helpful?