Arguments
tokenRequestBodySchemaInput
TokenRequestBodySchemaInputDescribes the request structure to login or register using a token.
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 loginWithToken(2 $tokenRequestBodySchemaInput: TokenRequestBodySchemaInput3) {4 loginWithToken(tokenRequestBodySchemaInput: $tokenRequestBodySchemaInput) {5 register_token6 request_id7 user {8 id9 account_type10 active11 application_id12 created_at13 dob14 first_name15 gender16 last_name17 meta18 profile_pic_url19 updated_at20 user_id21 username22 external_id23 rr_id24 }25 }26}
Try it
Input Variables
1{2 "tokenRequestBodySchemaInput": {3 "token": "token"4 }5}
Response
1{2 "loginWithToken": {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?