{"_id":"5437134326469424002a6e31","__v":1,"is_link":false,"version":{"_id":"54343531bfaa3d0800c4d4af","project":"54343170fa5527080064f449","__v":28,"forked_from":"54343170fa5527080064f44c","createdAt":"2014-10-07T18:47:13.086Z","releaseDate":"2014-10-07T18:47:13.086Z","categories":["54343531bfaa3d0800c4d4b0","543435b1edce040800409240","543435b9edce040800409241","543435bcedce040800409243","543435bfedce040800409244","543435c2edce040800409245","54370cc426469424002a6dfa","54370cf026469424002a6dfd","5437129d26469424002a6e2f","543712d226469424002a6e30","5480c8fd74904f1a00053c86","54aafc6eefb39016009e4d71","54ac1d36de18cc1400226e01","54ad59369219922100751732","54b41bcf4f25cb1600518d2c","54b533a3a806f40c0050d53c","54b54bbf96fe3c0b00d38d2a","54b688a27379a90c00f53a8a","54b699efbc1a46160005edfa","54b8191691011f0b00068804","54bfb002d03bfc0d0000e814","54bfb33ed03bfc0d0000e816","55a3e94e912a6e2300882cdb","55a56c370f354f0d00fd02a8","55e85ad034516037002e9325","5638ecb62fc5520d001a4cf9","572cba2fc310640e008f63d5","596e6e42c5b53b00509791b1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"category":{"_id":"543712d226469424002a6e30","pages":["5437151b26469424002a6e38","5437134326469424002a6e31","5488258fc178b40b00aa2ef8","54882d35c178b40b00aa2f0e","54883047f291f61400c02be5","54ac00aeec3be11400c8af68","54ac01e8ec3be11400c8af6a","54ac2205ec3be11400c8afad"],"__v":8,"project":"54343170fa5527080064f449","version":"54343531bfaa3d0800c4d4af","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-09T22:57:22.917Z","from_sync":false,"order":5,"slug":"users","title":"Users"},"parentDoc":null,"project":"54343170fa5527080064f449","editedParams2":true,"editedParams":true,"user":"543532513513400800a144f4","updates":["54c665fef2ab9319008e8135"],"next":{"pages":[],"description":""},"createdAt":"2014-10-09T22:59:15.596Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":true,"method":"get","results":{"codes":[{"code":"{\n    \"id\": \"E5B17C65-A078-F915-C40152E01E87A299\",\n    \"numericId\": 41837,\n    \"defaultRoleTemplateId\": null,\n    \"userName\": \"johndoe\",\n    \"accountId\": \"61JB929672Q8E\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"company\": \"MediaSilo\",\n    \"email\": \"john.doe:::at:::mediasilo.com\",\n    \"phone\": \"555 444 3333\",\n    \"mobile\": \"555 222 1111\",\n    \"address\": {\n        \"address1\": \"123 Main Street\",\n        \"address2\": \"Suite 456\",\n        \"city\": \"Boston\",\n        \"province\": \"MA\",\n        \"postalCode\": \"02111\",\n        \"country\": \"United States\"\n    },\n    \"status\": \"ACTIVE\",\n    \"sso\": false,\n    \"ssoId\": null,\n    \"roles\": [],\n    \"tags\": []\n}","name":"Success","language":"json"}]},"try":true,"auth":"required","params":[{"_id":"5437134326469424002a6e32","ref":"","in":"path","required":false,"desc":"The id of the user you want to fetch","default":"optional","type":"string","name":"id"}],"url":"/users/:id"},"isReference":false,"order":1,"body":"[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Get All Users\",\n  \"body\": \"Any user can invoke a GET USER call, which will return all users within their scope--that is, all users with whom they share at least one project. \\nOnly users with account-level role of ADMINISTRATOR will transcend this limitation and retrieve all users, regardless of project assignment.\"\n}\n[/block]\nUsers are at the core of all MediaSilo applications. In addition to containing a user's name, address and contact information, the User object contains an array of Roles that enable a user to perform certain tasks within the scope of an Account or Project, and an array of Tags that can be used to group, sort and filter user lists.","excerpt":"Returns a list of all user profiles the current user has access to; returns a single user profile by id","slug":"get-a-user","type":"endpoint","title":"Get User"}

getGet User

Returns a list of all user profiles the current user has access to; returns a single user profile by id

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
stringoptional
The id of the user you want to fetch

Result Format


Documentation

[block:callout] { "type": "info", "title": "Get All Users", "body": "Any user can invoke a GET USER call, which will return all users within their scope--that is, all users with whom they share at least one project. \nOnly users with account-level role of ADMINISTRATOR will transcend this limitation and retrieve all users, regardless of project assignment." } [/block] Users are at the core of all MediaSilo applications. In addition to containing a user's name, address and contact information, the User object contains an array of Roles that enable a user to perform certain tasks within the scope of an Account or Project, and an array of Tags that can be used to group, sort and filter user lists.

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 }}