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

`GET /api/v1/statuses`

Every status a request can have, in the order a request moves through, each with the name the app shows and how many of the workspace's requests are in it now.

Access: A token with requests:read.

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `items` | object[] | Every status, in the order a request moves through. |
| `items.status` | string | The status's value, which a request's status holds and the list of requests filters by: pending (new, not yet looked at by the team), in_review (the team is deciding whether to build it), planned (the team means to build it), in_progress (being built now), completed (built and shipped), closed (decided against, or no longer wanted). One of: `pending`, `in_review`, `planned`, `in_progress`, `completed`, `closed`. |
| `items.label` | string | The name the app shows for it. |
| `items.requests` | integer | How many of the workspace's requests are in it now, as the team's list counts them. |

## 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/statuses \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "items": [
    {
      "status": "planned",
      "label": "Planned",
      "requests": 12
    }
  ]
}
```
