---
title: "List workspaces for the current user"
method: GET
path: "/workspaces"
tags: ["Workspaces"]
---

# List workspaces for the current user

`GET /workspaces`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/workspaces`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Response `200`

OK

- WorkspaceResponse[], nullable
  - `avatar_url` string, required
  - `can_approve` boolean, required: Whether the current user can decide an assigned publication review
  - `can_connect` boolean, required: Whether the current user can connect or reconnect social accounts
  - `can_edit` boolean, required: Whether the current user can change workspace content
  - `client_reviews_enabled` boolean: Whether this deployment accepts new client review requests
  - `color` string, required
  - `created_at` string, required
  - `id` string, required
  - `name` string, required
  - `organization_id` string, required
  - `organization_name` string, required
  - `role` 'admin' | 'editor' | 'client' | 'viewer', required: Current user's workspace role
  - `sso_authenticated` boolean, required: Whether the current credential satisfies organization SSO
  - `sso_identity_linked` boolean, required: Whether the required provider is explicitly linked to this user
  - `sso_provider_id` string: Identity provider required for this workspace
  - `sso_provider_name` string: Identity provider name required for this workspace
  - `sso_required` boolean, required: Whether this workspace requires organization SSO

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
