---
title: "API · Workspace · List the teamspaces the current user belongs to"
method: GET
path: "/api/v1/spaces/my"
tags: ["workspace"]
---

# API · Workspace · List the teamspaces the current user belongs to

`GET /api/v1/spaces/my`

## Request

- Base URL: `https://api.simplified.com`
- URL: `https://api.simplified.com/api/v1/spaces/my`
- Auth: API key in header `Authorization`

List the teamspaces (Spaces) the current user is a member of, within the
token's workspace. Use this to resolve a teamspace before scoping other
calls: each returned `id` (integer) is the value you pass as the `Space`
header (or `--space` / `space_id`) to narrow a request to that teamspace.

The token stays bound to its one workspace — this does not switch
workspaces, it only lists the sub-spaces you can scope into. Supports
`?search=<name>` to filter by teamspace name and `?expand=settings`.

Each item: `{id (int), name, slug}`.

## Query parameters

- `search` string
- `expand` string
- `page` integer
- `page_size` integer

## Response `200`

Paginated list of the user's teamspaces.

- unknown

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/simplified/apis/platform.md) - [All operations](https://skmtc.dev/simplified/apis/platform/llms.txt) - [OpenAPI document](https://skmtc.dev/simplified/apis/platform/revisions/0815a1ba1e4e?raw)
