Users
Get users in a team
<b>Required scope: </b><code>users:read</code>
Returns the compact records for all users that are members of the team. Results are sorted alphabetically and limited to 2000. For more results use the /users endpoint.
get/teams/{team_gid}/users
Request
- Base URL: https://app.asana.com/api/1.0
- URL: https://app.asana.com/api/1.0/teams/{team_gid}/users
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token, scopes: users:read)
Query parameters
opt_fieldsstring[]
This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include. Properties can include nested fields. To learn more, see the input/output options guide.
Response
Returns the user records for all the members of the team, including guests and limited access users.
Example response
{
"data": [
{
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.