# “Workspace” Endpoints - GET Get workspace users

**URL:** <https://community.toggl.com/t/workspace-endpoints-get-get-workspace-users/354>\
**Category:** API References\
**Tags:** workspace, users, api, endpoints, get\
**Created:** [December 2, 2024, 3:25pm UTC](https://community.toggl.com/t/workspace-endpoints-get-get-workspace-users/354 "2024-12-02T15:25:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Support](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/support/32/1577_2.png) [@Support](https://community.toggl.com/u/Support)\
**Post date:** [December 2, 2024, 3:25pm UTC](https://community.toggl.com/t/workspace-endpoints-get-get-workspace-users/354/1 "2024-12-02T15:25:05Z")

</div>

```auto
https://api.track.toggl.com/api/v9/workspaces/{workspace_id}/users

```

List all users for a given workspace.

- cURL
- Go
- Ruby
- JavaScript
- Python
- Rust

```auto
extern crate tokio;extern crate serde_json;use reqwest::{Client};use reqwest::header::{CONTENT_TYPE};#[tokio::main]async fn main() -> Result<(), reqwest::Error> { let client = Client::new().basic_auth("<email>", "<password>"); let json = client.request(Method::GET, "https://api.track.toggl.com/api/v9/workspaces/{workspace_id}/users".to_string()) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}

```

### Parameters[​](https://engineering.toggl.com/docs/api/workspaces/#parameters-13)

#### Path[​](https://engineering.toggl.com/docs/api/workspaces/#path-12)

| name | type | required | description |
| --- | --- | --- | --- |
| workspace\_id | integer | true | Numeric ID of the workspace |

#### Query[​](https://engineering.toggl.com/docs/api/workspaces/#query-2)

| name | type | required | description |
| --- | --- | --- | --- |
| exclude\_deleted | boolean | false | Exclude deleted records in the response |

### Response[​](https://engineering.toggl.com/docs/api/workspaces/#response-16)

#### 200[​](https://engineering.toggl.com/docs/api/workspaces/#200-15)

| Name | Type | Description |
| --- | --- | --- |
| items | Array of object | - |

##### items[​](https://engineering.toggl.com/docs/api/workspaces/#items-4)

| Name | Type | Description |
| --- | --- | --- |
| email | string | Email of the user |
| fullname | string | Name of the user |
| id | integer | Global user identifier |
| inactive | boolean | internal |
| is\_active | boolean | internal |
| is\_admin | boolean | Flag indicating if user is admin Deprecated |
| role | string | Role of the user |

#### 403[​](https://engineering.toggl.com/docs/api/workspaces/#403-14)

User does not have access to this resource.

#### 500[​](https://engineering.toggl.com/docs/api/workspaces/#500-12)

Internal Server Error
