# Boards

Boards: list and read them, their columns, the tasks on a board as its page shows them, and ranking a card.

## List boards

`GET /orgs/{org}/boards`

Scope: `boards:read`

The boards the token's person can see (as the boards directory lists them), outside archived and trashed projects: by name, project or administrator.

### Path parameters

- `org` (string, required): The organisation's id (or its address name). [1 to 100 characters]

### Query parameters

- `limit` (integer): How many items a page holds, 1 to 200. [from 1 to 200; default 50]
- `cursor` (string): The next_cursor of the previous page; leave it out for the first page. [at most 1000 characters]
- `count` (string): true adds total, the number of items in the whole list. [one of: true, false]
- `q` (string): Part of the board's name. [at most 255 characters]
- `project` (string): Only this project's boards (its key or id). [at most 60 characters]
- `admin` (string (uuid)): Only boards this person administers (their id).
- `sort` (string): name (the default) or -name. [at most 20 characters]

### Request

```sh
curl -X GET "https://projqo.example/api/v1/orgs/{org}/boards" \
  -H "Authorization: Bearer $PROJQO_TOKEN"
```

### Answer: 200

```json
{
  "items": [
    {
      "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
      "name": "WEB board",
      "kind": "scrum",
      "team_board": false,
      "project": {
        "id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
        "key": "WEB",
        "name": "Website"
      },
      "owner": null
    }
  ],
  "next_cursor": null
}
```

### Errors

- 400 `invalid`: invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
- 401 `invalid_token`: invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
- 403 `insufficient_scope`: insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
- 404 `not_found`: not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
- 429 `rate_limited`: rate_limited: Too many calls in this minute, for the token or for the whole organisation.
- 500 `internal`: internal: Something went wrong on projqo's side (never your mistake).

## Get a board

`GET /orgs/{org}/boards/{board}`

Scope: `boards:read`

A board with its saved filter and sub-filter, custom filters, the swimlanes it can show, and what the token's person may do on it.

### Path parameters

- `org` (string, required): The organisation's id (or its address name). [1 to 100 characters]
- `board` (string (uuid), required): The board's id.

### Request

```sh
curl -X GET "https://projqo.example/api/v1/orgs/{org}/boards/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN"
```

### Answer: 200

```json
{
  "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
  "name": "WEB board",
  "kind": "scrum",
  "team_board": false,
  "project": {
    "id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
    "key": "WEB",
    "name": "Website"
  },
  "owner": null,
  "filter": {
    "id": "0f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
    "name": "Filter for WEB board",
    "query": "project = WEB ORDER BY Rank ASC",
    "problem": null
  },
  "sub_filter": "fixVersion in unreleasedVersions() OR fixVersion is EMPTY",
  "ranked": true,
  "estimation": "story_points",
  "group_by": "none",
  "group_by_options": [
    {
      "key": "assignee",
      "label": "Assignees"
    }
  ],
  "custom_filters": [
    {
      "id": "1e2d3c4b-5a69-4877-8665-4b3c2d1e0f6a",
      "name": "Only my tasks",
      "query": "assignee = currentUser()",
      "description": ""
    }
  ],
  "rights": {
    "administer": false,
    "manage_sprints": true,
    "parallel_sprints": false
  }
}
```

### Errors

- 400 `invalid`: invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
- 401 `invalid_token`: invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
- 403 `insufficient_scope`: insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
- 404 `not_found`: not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
- 429 `rate_limited`: rate_limited: Too many calls in this minute, for the token or for the whole organisation.
- 500 `internal`: internal: Something went wrong on projqo's side (never your mistake).

## List a board's columns

`GET /orgs/{org}/boards/{board}/columns`

Scope: `boards:read`

The board's columns left to right, each with the statuses it shows. A task is in the column holding its status; unmapped lists the board's projects' statuses no column holds (their tasks aren't on the board).

### Path parameters

- `org` (string, required): The organisation's id (or its address name). [1 to 100 characters]
- `board` (string (uuid), required): The board's id.

### Request

```sh
curl -X GET "https://projqo.example/api/v1/orgs/{org}/boards/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/columns" \
  -H "Authorization: Bearer $PROJQO_TOKEN"
```

### Answer: 200

```json
{
  "items": [
    {
      "id": "4b5c6d7e-8f9a-4b0c-8d1e-2f3a4b5c6d7e",
      "name": "In progress",
      "position": 1,
      "min": null,
      "max": 5,
      "kanban_backlog": false,
      "statuses": [
        {
          "id": "3d4e5f6a-7b8c-4d9e-8f0a-2b3c4d5e6f7a",
          "name": "In progress",
          "category": "in_progress"
        }
      ]
    }
  ],
  "next_cursor": null,
  "unmapped": []
}
```

### Errors

- 400 `invalid`: invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
- 401 `invalid_token`: invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
- 403 `insufficient_scope`: insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
- 404 `not_found`: not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
- 429 `rate_limited`: rate_limited: Too many calls in this minute, for the token or for the whole organisation.
- 500 `internal`: internal: Something went wrong on projqo's side (never your mistake).

## List the tasks on a board

`GET /orgs/{org}/boards/{board}/tasks`

Scope: `boards:read`

The board's tasks through its filter and sub-filter (a scrum board: its active sprints), in board order, as the board page shows them to the token's person: per column, and per swimlane with group_by, the count and the first 50 cards. Counts are over every task the person can open. Read more of a column with GET /boards/{board}/columns/{column}/tasks and the same parameters.

### Path parameters

- `org` (string, required): The organisation's id (or its address name). [1 to 100 characters]
- `board` (string (uuid), required): The board's id.

### Query parameters

- `q` (string): More conditions in the query language, as the board's filter panel adds them (the board's own filter always applies). [at most 2000 characters]
- `custom_filters` (string): Custom filter ids, comma-separated; all must match. Without it, the board's saved view's; empty for none. [at most 4000 characters]
- `people` (string): People's ids (or unassigned), comma-separated: tasks of any of them. Without it, the board's saved view's. [at most 4000 characters]
- `search` (string): Part of a summary, or a task key (as the board's search box). [at most 255 characters]
- `group_by` (string): Swimlanes: none, or one of the board's group_by_options (GET /boards/{board}). Without it, the board's saved view's. [at most 40 characters]
- `sprints` (string): A scrum board with parallel sprints: the active sprints to show (ids, comma-separated); every active sprint without it. [at most 1000 characters]

### Request

```sh
curl -X GET "https://projqo.example/api/v1/orgs/{org}/boards/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/tasks" \
  -H "Authorization: Bearer $PROJQO_TOKEN"
```

### Answer: 200

```json
{
  "total": 1,
  "ranked": true,
  "columns": [
    {
      "id": "4b5c6d7e-8f9a-4b0c-8d1e-2f3a4b5c6d7e",
      "name": "In progress",
      "total": 1,
      "limit": null,
      "items": [
        {
          "id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
          "key": "WEB-12",
          "summary": "The sign-in button does nothing on Safari",
          "rank": "0|i0000g:",
          "column": "4b5c6d7e-8f9a-4b0c-8d1e-2f3a4b5c6d7e",
          "type": {
            "id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
            "name": "Bug",
            "level": 0
          },
          "status": {
            "id": "3d4e5f6a-7b8c-4d9e-8f0a-2b3c4d5e6f7a",
            "name": "In progress",
            "category": "in_progress"
          },
          "priority": {
            "id": "4e5f6a7b-8c9d-4e0f-9a1b-3c4d5e6f7a8b",
            "name": "High"
          },
          "assignee": {
            "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
            "name": "Priya Shah"
          },
          "parent": null,
          "labels": [
            "safari"
          ],
          "due": "2026-12-15",
          "overdue": false,
          "estimate": 3,
          "subtasks": null,
          "flagged": false,
          "done": false
        }
      ],
      "next_cursor": null
    }
  ],
  "lanes": null,
  "broken_filters": [],
  "empty_reason": null
}
```

### Errors

- 400 `invalid`: invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
- 401 `invalid_token`: invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
- 403 `insufficient_scope`: insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
- 404 `not_found`: not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
- 429 `rate_limited`: rate_limited: Too many calls in this minute, for the token or for the whole organisation.
- 500 `internal`: internal: Something went wrong on projqo's side (never your mistake).

## List a board column's tasks

`GET /orgs/{org}/boards/{board}/columns/{column}/tasks`

Scope: `boards:read`

One column's tasks (in one swimlane with lane=) in board order, 50 a page: the first page without a cursor, then each next_cursor. Give the same view parameters as the tasks call.

### Path parameters

- `org` (string, required): The organisation's id (or its address name). [1 to 100 characters]
- `board` (string (uuid), required): The board's id.
- `column` (string (uuid), required)

### Query parameters

- `q` (string): More conditions in the query language, as the board's filter panel adds them (the board's own filter always applies). [at most 2000 characters]
- `custom_filters` (string): Custom filter ids, comma-separated; all must match. Without it, the board's saved view's; empty for none. [at most 4000 characters]
- `people` (string): People's ids (or unassigned), comma-separated: tasks of any of them. Without it, the board's saved view's. [at most 4000 characters]
- `search` (string): Part of a summary, or a task key (as the board's search box). [at most 255 characters]
- `group_by` (string): Swimlanes: none, or one of the board's group_by_options (GET /boards/{board}). Without it, the board's saved view's. [at most 40 characters]
- `sprints` (string): A scrum board with parallel sprints: the active sprints to show (ids, comma-separated); every active sprint without it. [at most 1000 characters]
- `lane` (string): With group_by: the swimlane's key ("" for the catch-all lane). [at most 300 characters]
- `cursor` (string): The next_cursor of the previous page; leave it out for the first page. [at most 1000 characters]

### Request

```sh
curl -X GET "https://projqo.example/api/v1/orgs/{org}/boards/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/columns/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/tasks" \
  -H "Authorization: Bearer $PROJQO_TOKEN"
```

### Answer: 200

```json
{
  "items": [
    {
      "id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
      "key": "WEB-12",
      "summary": "The sign-in button does nothing on Safari",
      "rank": "0|i0000g:",
      "column": "4b5c6d7e-8f9a-4b0c-8d1e-2f3a4b5c6d7e",
      "type": {
        "id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
        "name": "Bug",
        "level": 0
      },
      "status": {
        "id": "3d4e5f6a-7b8c-4d9e-8f0a-2b3c4d5e6f7a",
        "name": "In progress",
        "category": "in_progress"
      },
      "priority": {
        "id": "4e5f6a7b-8c9d-4e0f-9a1b-3c4d5e6f7a8b",
        "name": "High"
      },
      "assignee": {
        "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
        "name": "Priya Shah"
      },
      "parent": null,
      "labels": [
        "safari"
      ],
      "due": "2026-12-15",
      "overdue": false,
      "estimate": 3,
      "subtasks": null,
      "flagged": false,
      "done": false
    }
  ],
  "next_cursor": null
}
```

### Errors

- 400 `invalid`: invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
- 401 `invalid_token`: invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
- 403 `insufficient_scope`: insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
- 404 `not_found`: not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
- 429 `rate_limited`: rate_limited: Too many calls in this minute, for the token or for the whole organisation.
- 500 `internal`: internal: Something went wrong on projqo's side (never your mistake).

## Rank a card on a board

`POST /orgs/{org}/boards/{board}/rank`

Scope: `boards:write`

Moves a card up or down its column, as dragging it on the board does: just before or after another card, or to the top or bottom of its column, in the one rank the board, backlog and lists share. The board must be ordered by rank (409 otherwise); the task needs Edit tasks. Its History says Ranked higher or Ranked lower.

### Path parameters

- `org` (string, required): The organisation's id (or its address name). [1 to 100 characters]
- `board` (string (uuid), required): The board's id.

### Body

- `task` (string, required): The task to move (id or key). [1 to 60 characters]
- `before` (string): Just before this task (id or key). [1 to 60 characters]
- `after` (string): Just after this task (id or key). [1 to 60 characters]
- `at` (string): The top or the bottom of the column or section. [one of: top, bottom]

### Request

```sh
curl -X POST "https://projqo.example/api/v1/orgs/{org}/boards/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/rank" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "task": "string",
  "before": "string",
  "after": "string",
  "at": "top"
}'
```

### Answer: 200

```json
{
  "items": [
    {
      "id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
      "key": "WEB-12",
      "rank": "0|i0000h:",
      "sprint": {
        "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
        "name": "Sprint 14"
      }
    }
  ]
}
```

### Errors

- 400 `invalid`: invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
- 401 `invalid_token`: invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
- 403 `insufficient_scope`: insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
- 404 `not_found`: not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
- 409 `archived`: archived: The item (or its project) is archived, so it can't be changed. conflict: The thing changed since it was read, or the change clashes with its state.
- 413 `too_large`: too_large: The body or a file is larger than allowed.
- 415 `unsupported_media_type`: unsupported_media_type: The body isn't JSON.
- 429 `rate_limited`: rate_limited: Too many calls in this minute, for the token or for the whole organisation.
- 500 `internal`: internal: Something went wrong on projqo's side (never your mistake).
