# Add a button to a board's action bar

Adds one button to a custom board's action bar: `label`, `icon`, `kind` (add_row, builtin or workflow) and the `config` that kind reads. Manage on the board.

Access class: `board:manage`.

## Endpoint

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

## Parameters

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

## Request body

Content type: `application/json`.

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

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "config": {},
    "enabled": true,
    "icon": "string",
    "id": "",
    "kind": "string",
    "label": "string",
    "position": 1.5
  }
}
```

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