GET
/
users
/
{user_id}
.json
curl -X GET \
-H "QB-Token: 6f8c8931e80d0d828341ef218e95584ac48195db" \
https://api.quickblox.com/users/96752798.json
{
  "user": {
    "id": 96752798,
    "full_name": "Peter Smith",
    "email": "peter@gmail.com",
    "login": "Peter",
    "phone": "+73123555",
    "website": "https://mysite.com",
    "created_at": "2019-08-27T20:19:08Z",
    "updated_at": "2019-08-27T20:19:08Z",
    "last_request_at": "2019-08-27T20:49:21Z",
    "external_user_id": 1236672,
    "facebook_id": "8887366",
    "twitter_id": "9982366",
    "blob_id": null,
    "custom_data": "lead of marketing team",
    "age_over16": true,
    "allow_statistics_analysis": true,
    "allow_sales_activities": true,
    "parents_contacts": "",
    "user_tags": "marketing,seo"
  }
}

Recipes

Path Parameters

user_id
integer
required
ID of the user. Generated automatically by the server after user creation.

Headers

QB-Token
string
required
A user session token. See our Authentication page to learn more about the session token.
Authorization
string
default:"ApiKey {your_api_key}"
required
API key from Dashboard. Expected format: ApiKey {your_api_key}. Must be used either QB-Token or Authorization.

Responses

curl -X GET \
-H "QB-Token: 6f8c8931e80d0d828341ef218e95584ac48195db" \
https://api.quickblox.com/users/96752798.json
{
  "user": {
    "id": 96752798,
    "full_name": "Peter Smith",
    "email": "peter@gmail.com",
    "login": "Peter",
    "phone": "+73123555",
    "website": "https://mysite.com",
    "created_at": "2019-08-27T20:19:08Z",
    "updated_at": "2019-08-27T20:19:08Z",
    "last_request_at": "2019-08-27T20:49:21Z",
    "external_user_id": 1236672,
    "facebook_id": "8887366",
    "twitter_id": "9982366",
    "blob_id": null,
    "custom_data": "lead of marketing team",
    "age_over16": true,
    "allow_statistics_analysis": true,
    "allow_sales_activities": true,
    "parents_contacts": "",
    "user_tags": "marketing,seo"
  }
}