---
title: "GET /api/v1/workspaces/{workspaceID}/blocks"
method: GET
path: "/api/v1/workspaces/{workspaceID}/blocks"
---

# GET /api/v1/workspaces/{workspaceID}/blocks

`GET /api/v1/workspaces/{workspaceID}/blocks`

Returns blocks

## Path parameters

- `workspaceID` string, required

## Query parameters

- `parent_id` string
- `type` string

## Response `200`

success

- Block[]
  - `createAt` integer, required — The creation time
  - `createdBy` string, required — The id for user who created this block
  - `deleteAt` integer — The deleted time. Set to indicate this block is deleted
  - `fields` object — The block fields
  - `id` string, required — The id for this block
  - `modifiedBy` string, required — The id for user who last modified this block
  - `parentId` string — The id for this block's parent block. Empty for root blocks
  - `rootId` string, required — The id for this block's root block
  - `schema` integer, required — The schema version of this block
  - `title` string — The display title
  - `type` string, required — The block type
  - `updateAt` integer, required — The last modified time

## Other responses

- `default` — internal error

## Changes

- **2021-03-26** `488a2d4014b8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mattermost/apis/focalboard-server/changes/api/v1/workspaces/:workspaceID/blocks/get.md)

---

[API](https://skmtc.dev/mattermost/apis/focalboard-server.md) · [All operations](https://skmtc.dev/mattermost/apis/focalboard-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mattermost/focalboard-server/revisions/159b68e6c1eb/schema)
