# Get single user details
You can return specific user details.
GET
/users-by-id/:custom_id/
Attributes | Type | Required | Description |
---|---|---|---|
custom_id | integer | yes | The unique identifier for the user which is provided by the client. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/users-by-id/:custom_id/"
# Response
{
"gravatar_url": null,
"linkedin_url": null,
"email": "up_da_ted@email.com",
"id": 19678376,
"timezone": null,
"unsubscribed": false,
"facebook_url": null,
"browser": null,
"last_seen": null,
"google_url": null,
"region": null,
"last_ip": null,
"score": 0,
"browser_language": null,
"attributes": [
{
"value": true,
"name": "Example attr",
"name_std": "example_attr",
"id": 1109
},
{
"value": "attribute value",
"name": "My string attr",
"name_std": "my_string_attr",
"id": 2429
}
],
"city": null,
"created_at": "2017-06-07T09:41:13.466897Z",
"key": "g3FaYocCy0U6",
"os_type": null,
"lists": [],
"notifications": true,
"chat_id": "Chat ID is deprecated and will be removed in future",
"last_contacted": null,
"updated_at": "2017-06-07T10:29:15.955873Z",
"companies": [
{
"id": 14,
"name": "Company name",
"member_since": "2018-06-14T08:49:56.515083Z"
}
],
"gender": "unknown",
"twitter_url": null,
"country": null,
"first_seen": null,
"tags": [
{
"name": "tag",
"id": 1441
}
],
"page_views": 0,
"status": "visitor",
"name": "Jane Doe",
"resolution": null,
"phone_number": null,
"assigned_to": null
}