---
title: "Get a space"
method: GET
path: "/spaces/{spaceId}"
tags: ["Spaces"]
---

# Get a space

`GET /spaces/{spaceId}`

## Request

- Base URL: `https://api.mockflow.com/v1`
- URL: `https://api.mockflow.com/v1/spaces/{spaceId}`
- Auth: HTTP bearer

## Response `200`

OK

- Space
  - `id` string: A space id, or the reserved `default` and `trash`.
  - `name` string
  - `builtIn` boolean
  - `role` 'owner' | 'admin' | 'editor' | 'reviewer': The product's roles. Owner is the workspace that holds the board or space and cannot be granted or transferred. Admin can rename and share, editor can edit, reviewer can view, export and add comment items. There is no viewer role and no pending state.
  - `boardCount` integer
  - `memberCount` integer
  - `coverUrl` string, uri, nullable
  - `publicUrl` string, uri, nullable
  - `position` integer: Dashboard order, lowest first.
  - `createdBy` string, nullable
  - `createdAt` string, date-time, nullable
  - `updatedAt` string, date-time, nullable
  - `deletedAt` string, date-time, nullable

## Other responses

- `404`: The resource does not exist or the token cannot see it.
- `429`: Too many requests.

---

[API](https://skmtc.dev/mockflow/apis/mockflow-boards-api.md) - [All operations](https://skmtc.dev/mockflow/apis/mockflow-boards-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mockflow/apis/mockflow-boards-api/revisions/1a890390518c?raw)
