mutation

addMobileNumber

Add a new mobile number to the user's profile.
Arguments
editMobileRequestSchemaInput
EditMobileRequestSchemaInput
Describes the request structure to add the user phone number.
platform
String
ID of the application.
Response
Describes the user details structure.
verify_mobile_link
Boolean
Whether the mobile number verification link was successful.
Mutation
1mutation addMobileNumber(
2 $editMobileRequestSchemaInput: EditMobileRequestSchemaInput
3 $platform: String
4) {
5 addMobileNumber(
6 editMobileRequestSchemaInput: $editMobileRequestSchemaInput
7 platform: $platform
8 ) {
9 user {
10 id
11 account_type
12 active
13 application_id
14 created_at
15 dob
16 first_name
17 gender
18 last_name
19 meta
20 profile_pic_url
21 updated_at
22 user_id
23 username
24 external_id
25 rr_id
26 }
27 verify_mobile_link
28 }
29}
Try it
Input Variables
1{
2 "editMobileRequestSchemaInput": {
3 "country_code": "country_code",
4 "phone": "1+ 418-323-4236"
5 },
6 "platform": "platform"
7}
Response
1{
2 "addMobileNumber": {
3 "user": {
4 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
5 "account_type": "account_type",
6 "active": true,
7 "application_id": "application_id",
8 "created_at": "created_at",
9 "dob": "dob",
10 "first_name": "first_name",
11 "gender": "gender",
12 "last_name": "last_name",
13 "meta": {},
14 "profile_pic_url": "profile_pic_url",
15 "updated_at": "updated_at",
16 "user_id": "user_id",
17 "username": "username",
18 "external_id": "external_id",
19 "rr_id": "rr_id"
20 },
21 "verify_mobile_link": true
22 }
23}