---
title: "GET /projects/{projectId}/blocks"
method: GET
path: "/projects/{projectId}/blocks"
tags: ["Project"]
---

# GET /projects/{projectId}/blocks

`GET /projects/{projectId}/blocks`

## Request

- Base URL: `https://www.taskade.com/api/v1`
- URL: `https://www.taskade.com/api/v1/projects/{projectId}/blocks`
- Auth: OAuth 2 and HTTP bearer
  - Authorization code: `https://www.taskade.com/oauth2/authorize`
  - Token URL: `https://www.taskade.com/oauth2/token`

Get all blocks for a project

## Path parameters

- `projectId` string, required

## Query parameters

- `limit` number
- `after` string
- `before` string

## Response `200`

Blocks

- object: Blocks
  - `ok` true, required
  - `items` Block[], required
    - `id` string, required
    - `text` string
    - `completed` boolean

## Other responses

- `4XX`: Error description

---

[API](https://skmtc.dev/taskade/apis/taskade-public-api-v1.md) - [All operations](https://skmtc.dev/taskade/apis/taskade-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/taskade/apis/taskade-public-api-v1/revisions/55e17fe72d22?raw)
