---
title: "Get all workspaces accessible to the user"
method: GET
path: "/workspaces"
tags: ["Workspace API"]
---

# Get all workspaces accessible to the user

`GET /workspaces`

## Response `200`

- WorkspacesView
  - `url` string — API endpoint to GET this object
  - `html_url` string — Web URL to view this object in Buddy.works
  - `workspaces` ShortWorkspaceView[]
    - `url` string — API endpoint to GET this object
    - `html_url` string — Web URL to view this object in Buddy.works
    - `id` integer — The ID of the workspace
    - `name` string — The name of the workspace
    - `domain` string — The human-readable ID of the workspace. Alphanumeric characters, underscores, and hyphens (hyphens cannot appear at the start or end).

---

[API](https://skmtc.net/buddy/apis/buddy-api.md) · [All operations](https://skmtc.net/buddy/apis/buddy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/buddy/buddy-api/versions/2426d67c249a/schema)
