# Make a board

Creates a custom board — a table somebody makes for themselves, as opposed to a pack page like leads or deals — in ONE call, choices included. Body: `name`, an optional `purpose`, and `columns` as {label, kind, config}, kind being one of text, number, date, select, checkbox, url, email, phone, person, tags, currency, percent, rating, relation, datetime, long_text, address, file, formula, lookup. A select column takes its choices HERE: `config.options` as [{label, value?, tone?}] (tone: secondary, brandLight, brand, warning, success, destructive) — never one options call per choice afterwards. To make a board FROM data instead, reach for `post_boards_import` and omit its boardId.

Access class: `workspace`.

## Endpoint

`POST /v1/boards`

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "columns": [
      {
        "kind": "string",
        "label": "string"
      }
    ],
    "name": "string",
    "purpose": "string"
  },
  "params": {},
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "access": "string",
    "columns": [
      {
        "calculation": "string",
        "config": {},
        "id": "",
        "kind": "string",
        "label": "string",
        "options": [
          "string"
        ],
        "position": 1.5,
        "starred": true
      }
    ],
    "createdAt": "string",
    "definitionKey": "string",
    "id": "",
    "name": "string",
    "purpose": "string",
    "rows": [
      "string"
    ],
    "updatedAt": "string",
    "view": "string"
  }
}
```

### 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"
}
```
