---
title: "GET /vcs/bitbucket/workspaces"
method: GET
path: "/vcs/bitbucket/workspaces"
tags: ["vcs"]
---

# GET /vcs/bitbucket/workspaces

`GET /vcs/bitbucket/workspaces`

List the calling user's Bitbucket workspaces and the repositories they can write to. Used by the link-to-Bitbucket UI.

## Response `200`

Default Response

- object[]
  - `uuid` string, required
  - `slug` string, required
  - `name` string, required
  - `iconUrl` string
  - `repos` object[], required
    - `uuid` string, required
    - `slug` string, required
    - `fullName` string, required
    - `defaultBranch` string, required
    - `isPrivate` boolean, required
    - `workspaceUuid` string, required
    - `workspaceSlug` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

---

[API](https://skmtc.net/scalar/apis/core.md) · [All operations](https://skmtc.net/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalar/core/revisions/f2eb95a82c72/schema)
