# Add a column to a board

Adds one column to a custom board's shape: `label`, a `kind` (text, number, currency, date, select, person, file, formula …) and the per-kind `config` — a select column's choices go in `config.options` as [{label, value?, tone?}], in this same call; a `relation` (record link) takes `config.definitionKey`, which may name any page or any other custom board (its `definitionKey`, `board-…`). Rows already on the board keep the cells they had and are simply empty in the new column. Manage on the board; a pack page's column is `post_definitions_key_columns`.

Access class: `board:manage`.

## Endpoint

`POST /v1/boards/{id}/columns`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "config": {},
    "kind": "string",
    "label": "string"
  },
  "params": {
    ":id": "string"
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "calculation": "string",
    "config": {},
    "id": "",
    "kind": "string",
    "label": "string",
    "options": [
      "string"
    ],
    "position": 1.5,
    "starred": true
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
