---
title: "List user workspaces"
method: GET
path: "/api/v1/workspaces"
tags: ["Workspaces"]
---

# List user workspaces

`GET /api/v1/workspaces`

Returns a list of all workspaces the authenticated user has access to. Use this to discover available workspace IDs for other API calls.

## Response `200`

Workspaces

- object[]
  - `id` integer — Workspace ID
  - `name` string — Workspace name

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/linklyhq/apis/linkly-url-shortener-api.md) · [All operations](https://skmtc.net/linklyhq/apis/linkly-url-shortener-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linklyhq/linkly-url-shortener-api/revisions/351c1f004617/schema)
