# List boards (https://notert.io/docs/api/reference/list-boards)

`GET /api/v1/boards`

Every board in the workspace, in the order the team placed them. A board's id narrows the list of requests to it.

Access: A token with requests:read.

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `items` | object[] | Every board in the workspace, in the order the team placed them. |
| `items.id` | string | The board's id. |
| `items.name` | string | The board's name. |
| `items.visibility` | string | Whether the public board shows its requests to everyone (public) or only to the team (private). One of: `public`, `private`. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't read requests, boards, tags and statuses. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl https://app.notert.io/api/v1/boards \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "items": [
    {
      "id": "2d9a7c41-6b3e-4e8f-a1c5-0f4b8d2e6a17",
      "name": "Feature requests",
      "visibility": "public"
    }
  ]
}
```
