A
GetWorkspaceUsers
AsanaApi.GetWorkspaceUsers
Description
Retrieve all users from a specified workspace.
Fetches compact records for all users in a specific Asana workspace or organization. Suitable for retrieving member lists sorted alphabetically, limited to 2000 users.
Input Parameters
{
"parameters": [
{
"name": "workspace_unique_id",
"required": true,
"inferrable": true,
"description": "Globally unique identifier for the workspace or organization in Asana.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "enable_pretty_output",
"required": false,
"inferrable": true,
"description": "Set to true for a \"pretty\" response with indentation and line breaks. Recommended for debugging as it increases response size and time.",
"value_schema": {
"val_type": "boolean"
}
},
{
"name": "include_optional_fields",
"required": false,
"inferrable": true,
"description": "List properties to include in the response. Provide these as an array of strings to retrieve additional user information beyond the default fields.",
"value_schema": {
"val_type": "array",
"inner_val_type": "string"
}
},
{
"name": "pagination_offset_token",
"required": false,
"inferrable": true,
"description": "An offset token used for paginating results. It allows you to retrieve the next page of results by using a token returned from a previous request. If omitted, the first page is returned.",
"value_schema": {
"val_type": "string"
}
}
]
} Output
{
"description": "Response from the API endpoint 'getUsersForWorkspace'.",
"value_schema": {
"val_type": "json"
},
"available_modes": [
"value",
"error"
]
}