---
title: "Workspaces"
method: GET
path: "/me/all_workspaces"
tags: ["workspaces"]
---

# Workspaces

`GET /me/all_workspaces`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/me/all_workspaces`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/me/all_workspaces/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists workspaces for given user, including all workspaces in an organization for an adminj.

## Request body `application/x-www-form-urlencoded`

- object
  - `since` integer: Retrieve workspaces created/modified/deleted since this date using UNIX timestamp, including the dates a workspace member got added, removed or updated in the workspace.

## Response `200`

Successful operation.

- WorkspaceWithActiveProjectCount[]
  - `active_project_count` integer
  - `admin` boolean: Current user is workspace admin
  - `api_token` string: deprecated
  - `at` string: Timestamp of last workspace change
  - `business_ws` boolean: Workspace on Premium subscription
  - `csv_upload` ModelsCsvUpload
    - `at` string
    - `log_id` integer
  - `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
  - `logo_url` string: URL of workspace logo
  - `max_data_retention_days` integer: How far back free workspaces can access data.
  - `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
  - `permissions` string: Permissions list
  - `premium` boolean: Workspace on Starter subscription
  - `profile` integer: deprecated
  - `projects_billable_by_default` boolean: New projects billable by default
  - `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
  - `server_deleted_at` string, date-time: Timestamp of deletion
  - `subscription` ModelsSubscription
    - `auto_renew` boolean
    - `card_details` ModelsCardDetails
      - `added_at` string
      - `card_number` string
      - `card_type` string
      - `creator_id` integer
      - `creator_name` string
      - `expiry_date` string
      - `holder_name` string
    - `company_id` integer
    - `contact_detail` ModelsContactDetail
      - `company_address` string
      - `company_city` string
      - `company_name` string
      - `contact_detail_id` integer
      - `contact_email` string
      - `contact_person` string
      - `country_id` integer
      - `country_subdivision_id` integer
      - `created_at` string
      - `customer_id` integer
      - `is_eu_resident` boolean
      - `updated_at` string
      - `user_id` integer
      - `vat_number` string
      - `vat_number_valid` boolean: DEPRECATED
      - `vat_number_validated_at` string: DEPRECATED
      - `zip_code` string
    - `created_at` string, date-time
    - `currency` string
    - `customer_id` integer
    - `deleted_at` string, date-time
    - `last_pricing_plan_id` integer
    - `organization_id` integer
    - `payment_details` ModelsPaymentDetail
      - `created_at` string
      - `currency` string
      - `customer_id` integer
      - `payment_type` string
      - `reference` string
      - `user_id` integer
    - `pricing_plan_id` integer
    - `renewal_at` string, date-time
    - `subscription_id` integer
    - `subscription_period` ModelsPeriod
      - `created_at` string
      - `finished_on` string
      - `started_on` string
      - `subscription_id` integer
      - `subscription_period_id` integer
      - `trial` boolean
      - `user_count` integer
    - `workspace_id` integer
  - `suspended_at` string, date-time: Timestamp of suspension
  - `te_constraints` ModelsTimeEntryConstraints
    - `description_present` boolean
    - `project_present` boolean
    - `tag_present` boolean
    - `task_present` boolean
    - `time_entry_constraints_enabled` boolean
  - `working_hours_in_minutes` integer: Working hours in minutes

## Other responses

- `403`: User does not have access to this resource.
- `404`: Resource can not be found

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
