{"_id":"575ffb199b1a9a220067c22c","category":{"_id":"575ffb199b1a9a220067c221","__v":0,"version":"575ffb199b1a9a220067c21e","project":"54ee19c23749bf0d00c76515","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-02-25T20:52:57.796Z","from_sync":false,"order":2,"slug":"user-endpoints","title":"User Endpoints"},"editedParams":true,"editedParams2":true,"project":"54ee19c23749bf0d00c76515","__v":5,"parentDoc":null,"version":{"_id":"575ffb199b1a9a220067c21e","__v":1,"project":"54ee19c23749bf0d00c76515","createdAt":"2016-06-14T12:39:53.763Z","releaseDate":"2016-06-14T12:39:53.763Z","categories":["575ffb199b1a9a220067c21f","575ffb199b1a9a220067c220","575ffb199b1a9a220067c221","575ffb199b1a9a220067c222","575ffb199b1a9a220067c223","575ffb199b1a9a220067c224","575ffb199b1a9a220067c225"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"user":"54ee197f67e09c230091e707","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-02-25T20:53:47.527Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"","language":"text"}]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{  \n    \"_id\":\"000000000001\",\n    \"email_address\":\"darren:::at:::breezy.hr\",\n    \"hex_color\":\"color4\",\n    \"initial\":\"D\",\n    \"name\":\"Darren Bounds\",\n    \"username\":\"darrenbounds\",\n    \"founder\":true,\n    \"status\":\"offline\",\n    \"updated_date\":\"2014-12-30T16:26:37.948Z\",\n    \"profile_photo_url\":\"https://hostname/avatar.jpg\",\n    \"signature\": {\n      \"enabled\": false,\n      \"body\": \"-\\r\\nDarren Bounds\"\n    }    \n}","name":""},{"name":"Missing Access Token","status":400,"language":"json","code":"{\n  \"error\": \"No access token found\"\n}"},{"code":"","language":"json","status":404,"name":"User Not Found"}]},"settings":"","auth":"required","params":[{"_id":"576002c14715f61700ae854f","ref":"","in":"query","required":false,"desc":"user id to lookup (if blank look up by auth token)","default":"","type":"string","name":"user_id"}],"url":"/v2/user"},"isReference":true,"order":0,"body":"","excerpt":"Retrieve the authenticated user or another user by id","slug":"user","type":"endpoint","title":"/user"}

get/user

Retrieve the authenticated user or another user by id

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

user_id:
string
user id to lookup (if blank look up by auth token)

Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}