---
title: "List tasks"
method: GET
path: "/tasks"
tags: ["Tasks"]
---

# List tasks

`GET /tasks`

## Request

- Base URL: `https://api.groundflag.com/api/v1/public`
- URL: `https://api.groundflag.com/api/v1/public/tasks`
- Auth: HTTP bearer

## Query parameters

- `project_id` string
- `status` 'pending' | 'in_progress' | 'completed' | 'dismissed' | 'snoozed'
- `page` integer
- `per_page` integer

## Response `200`

OK

- object
  - `success` boolean
  - `message` string, nullable
  - `data` object
    - `items` Task[]
      - `id` string
      - `project_id` string, nullable
      - `assigned_to` integer, nullable
      - `title` string
      - `description` string, nullable
      - `priority` string
      - `status` string
      - `due_date` string, date, nullable
      - `completed_at` string, date-time, nullable
      - `created_at` string, date-time, nullable
    - `meta` PageMeta
      - `current_page` integer
      - `last_page` integer
      - `per_page` integer
      - `total` integer

## Other responses

- `401`: Missing, invalid, revoked or expired token
- `403`: The token lacks the required scope
- `429`: Rate limit reached; retry after the Retry-After header

---

[API](https://skmtc.dev/groundflag/apis/groundflag-public-api.md) · [All operations](https://skmtc.dev/groundflag/apis/groundflag-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/groundflag/apis/groundflag-public-api/revisions/65081b6e09ef?raw)
