Users
Get User by External User ID
REST API
- Overview
- Limits
- Errors
- GETGet Account Settings
- Authentication
- Users
- Ovevriew
- User Model
- POSTCreate User
- POSTCreate Token with API key
- DELDelete Token with API key
- DELFlush Tokens with API key
- GETList Users
- GETList Users by Full Name
- GETList Users by Tags
- GETGet User by ID
- GETGet User by Login
- GETGet User by Facebook ID
- GETGet User by Email
- GETGet User by External User ID
- PUTUpdate User
- DELDelete User by ID
- DELDelete User by External ID
- GETReset User Password
- Chat
- Content
- Push Notifications
- Custom Objects
- Address Book
- AI
Users
Get User by External User ID
Retrieve a user by External User ID.
GET
/
users
/
external
/
{external_user_id}
.json
curl -X GET \
-H "QB-Token: bdbb2bd5abb81b1d7fe7be03db9305b46e012bba" \
https://api.quickblox.com/users/external/133712.json
{
"user": {
"id": 96831397,
"full_name": "Jen Lesser",
"email": "jen@gmail.com",
"login": "Jen",
"phone": "+1331234215",
"website": "https://mysite.com",
"created_at": "2019-08-29T19:15:17Z",
"updated_at": "2019-08-29T19:15:17Z",
"last_request_at": null,
"external_user_id": 133712,
"facebook_id": "1338866",
"twitter_id": "1339366",
"blob_id": null,
"custom_data": null,
"age_over16": true,
"allow_statistics_analysis": true,
"allow_sales_activities": true,
"parents_contacts": "",
"user_tags": "android"
}
}
Recipes
1
1. Use 'Authorization' header to pass API key
curl -X GET \
-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \
https://api.quickblox.com/users/external/1236672.json
2
2. As a result, the API returns a user with the specified external user id
curl -X GET \
-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \
https://api.quickblox.com/users/external/1236672.json
Query Parameters
ID of the user in the external system .
Headers
A user session token. See our Authentication page to learn more about the session token.
API key from Dashboard. Expected format:
ApiKey {your_api_key}
. Must be used either QB-Token or Authorization.Responses
A successful response
curl -X GET \
-H "QB-Token: bdbb2bd5abb81b1d7fe7be03db9305b46e012bba" \
https://api.quickblox.com/users/external/133712.json
{
"user": {
"id": 96831397,
"full_name": "Jen Lesser",
"email": "jen@gmail.com",
"login": "Jen",
"phone": "+1331234215",
"website": "https://mysite.com",
"created_at": "2019-08-29T19:15:17Z",
"updated_at": "2019-08-29T19:15:17Z",
"last_request_at": null,
"external_user_id": 133712,
"facebook_id": "1338866",
"twitter_id": "1339366",
"blob_id": null,
"custom_data": null,
"age_over16": true,
"allow_statistics_analysis": true,
"allow_sales_activities": true,
"parents_contacts": "",
"user_tags": "android"
}
}
Was this page helpful?
curl -X GET \
-H "QB-Token: bdbb2bd5abb81b1d7fe7be03db9305b46e012bba" \
https://api.quickblox.com/users/external/133712.json
{
"user": {
"id": 96831397,
"full_name": "Jen Lesser",
"email": "jen@gmail.com",
"login": "Jen",
"phone": "+1331234215",
"website": "https://mysite.com",
"created_at": "2019-08-29T19:15:17Z",
"updated_at": "2019-08-29T19:15:17Z",
"last_request_at": null,
"external_user_id": 133712,
"facebook_id": "1338866",
"twitter_id": "1339366",
"blob_id": null,
"custom_data": null,
"age_over16": true,
"allow_statistics_analysis": true,
"allow_sales_activities": true,
"parents_contacts": "",
"user_tags": "android"
}
}