Arguments
passwordLoginRequestSchemaInput
PasswordLoginRequestSchemaInputDescribes the request structure to login or register using an email address and password.
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 loginWithEmailAndPassword(2 $passwordLoginRequestSchemaInput: PasswordLoginRequestSchemaInput3) {4 loginWithEmailAndPassword(5 passwordLoginRequestSchemaInput: $passwordLoginRequestSchemaInput6 ) {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 "passwordLoginRequestSchemaInput": {3 "captcha_code": "captcha_code",4 "password": "password",5 "username": "username"6 }7}
Response
1{2 "loginWithEmailAndPassword": {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?