latestOpenAPI 3.0.02026-08-10101230.3 KB
86fda89a7d6a
Login
User login using application session.
User login using application session.
Examples
POST /login.json
post/login.json
Headers
qb-tokenstring required
A user or application session token.
qb-sdkstring
To identify the party making the request
Request body
Example request
{
"user_login_by_email": {
"description": null,
"externalValue": null,
"summary": null,
"value": {
"email": "andrew@quickblox.com",
"password": "mypassword"
}
},
"user_login_by_username": {
"description": null,
"externalValue": null,
"summary": null,
"value": {
"login": "Andrew",
"password": "mypassword"
}
}
}Response
User
Example response
{
"success": {
"description": null,
"externalValue": null,
"summary": null,
"value": {
"user": {
"age_over16": "true",
"blob_id": "null",
"created_at": "2019-08-26T20:53:42Z",
"custom_data": "null",
"email": "andrew@gmail.com",
"external_user_id": "null",
"facebook_id": "89987878",
"full_name": "Andrew Lee",
"id": "96705448",
"last_request_at": "2019-08-26T21:38:44Z",
"login": "Andrew",
"parents_contacts": "",
"phone": "+9923474236",
"twitter_id": "12313242",
"updated_at": "2019-08-26T21:38:38Z",
"website": "https://myapp.com"
}
}
}
}