---
title: "GET /workspaces/{accountId}"
method: GET
path: "/workspaces/{accountId}"
tags: ["Workspaces"]
---

# GET /workspaces/{accountId}

`GET /workspaces/{accountId}`

Get the list of your account’s workspaces (workspace ID & name)

## Path parameters

- `accountId` string, required

## Response `200`

A list of workspaces

- Workspace[]
  - `id` string
  - `name` string, nullable
  - `key` string
  - `webUrl` string — Canonical Craft.io app URL for this workspace. Computed in PublishService.

## Other responses

- `400` — Invalid account ID
- `401` — No access to account
- `403` — Access denied
- `500` — An error occurred while fetching workspaces

---

[API](https://skmtc.net/craft/apis/craft-io-public-api.md) · [All operations](https://skmtc.net/craft/apis/craft-io-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/craft/craft-io-public-api/versions/2d001661c781/schema)
