# “Workspaces” Endpoints - GET Workspace data

**URL:** <https://community.toggl.com/t/workspaces-endpoints-get-workspace-data/340>\
**Category:** API References\
**Tags:** data, workspace, api, endpoints, get\
**Created:** [December 2, 2024, 12:21pm UTC](https://community.toggl.com/t/workspaces-endpoints-get-workspace-data/340 "2024-12-02T12:21:54Z")\
**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, 12:21pm UTC](https://community.toggl.com/t/workspaces-endpoints-get-workspace-data/340/1 "2024-12-02T12:21:54Z")

</div>

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

```

Returns workspace data

- 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}".to_string()) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}

```

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

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

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

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

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

| Name | Type | Description |
| --- | --- | --- |
| admin | boolean | Current user is workspace admin Deprecated |
| api\_token | string | deprecated |
| at | string | Timestamp of last workspace change |
| business\_ws | boolean | Workspace on Premium subscription |
| default\_currency | string | Default currency, premium feature, optional, only for existing WS, will be ‘USD’ initially |
| default\_hourly\_rate | number | The default hourly rate, premium feature, optional, only for existing WS, will be 0.0 initially |
| hide\_start\_end\_times | boolean | - |
| ical\_enabled | boolean | Calendar integration enabled |
| ical\_url | string | URL of calendar |
| id | integer | Identifier of the workspace |
| last\_modified | string | Last modification of data in the workspace |
| limit\_public\_project\_data | boolean | Limit public projects data in reports to admins. |
| logo\_url | string | URL of workspace logo |
| name | string | Name of the workspace |
| only\_admins\_may\_create\_projects | boolean | Only admins will be able to create projects, optional, only for existing WS, will be false initially |
| only\_admins\_may\_create\_tags | boolean | Only admins will be able to create tags, optional, only for existing WS, will be false initially |
| only\_admins\_see\_billable\_rates | boolean | Whether only admins will be able to see billable rates, premium feature, optional, only for existing WS. Will be false initially |
| only\_admins\_see\_team\_dashboard | boolean | Only admins will be able to see the team dashboard, optional, only for existing WS, will be false initially |
| organization\_id | integer | Identifier of the organization |
| premium | boolean | Workspace on Starter subscription |
| profile | integer | deprecated |
| projects\_billable\_by\_default | boolean | New projects billable by default |
| projects\_enforce\_billable | boolean | Whether tracking time to projects will enforce billable setting to be respected. |
| projects\_private\_by\_default | boolean | Workspace setting for default project visbility. |
| rate\_last\_updated | string | Timestamp of last workspace rate update |
| reports\_collapse | boolean | Whether reports should be collapsed by default, optional, only for existing WS, will be true initially |
| role | string | Role of the current user in the workspace |
| rounding | integer | Default rounding, premium feature, optional, only for existing WS. 0 - nearest, 1 - round up, -1 - round down |
| rounding\_minutes | integer | Default rounding in minutes, premium feature, optional, only for existing WS |
| suspended\_at | string | Timestamp of suspension |
| working\_hours\_in\_minutes | integer | Working hours in minutes |

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

Workspace not found
