> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.houseofapps.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.houseofapps.ai/_mcp/server.

# Create board

POST https://api-dev.houseofapps.ai/v1/integrations/boards
Content-Type: application/json

External create board.

Reference: https://docs.houseofapps.ai/api-reference/overview/work/boards/external-create-board-v-1-integrations-boards-post

## Request

### Headers

- `licenseKey` (string, required)
- `appSecret` (string, required)

### Body (application/json)

This endpoint expects a CreateCpBoardRequest.

- `name` (string, required) — Board name
- `description` (string, optional, default: ) — Board description
- `company_id` (string, optional, nullable) — Linked company id (replaces CEO customerId)
- `color` (string, optional, nullable) — Optional calendar color (hex or CSS token)
- `members` (list of CpBoardMemberIn, optional) — Board members with roles (creator is always admin)
- `task_access` (CpBoardTaskAccess, optional, nullable) — Optional task access policy; defaults to fullest
- `stages` (list of CpBoardStageIn, optional, nullable) — Optional initial stages; defaults applied when omitted
- `custom_fields` (list of map from string to any, optional) — Root FieldCell create: field_id plus exactly one of value | sub_fields | items. Same shape as leads/contacts; omit or [] when none.

## Response

### 201

Created

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable success message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `data` (SuccessResponseData, optional, nullable) — Payload for this endpoint

## Errors

### 422 Unprocessable Entity Error

Unprocessable Entity

- `status` (string, required) — Response status
- `message` (string, required) — Human-readable error message
- `statusCode` (integer, required) — HTTP status code
- `code` (string, required) — Custom application status code
- `messageKey` (string, optional) — i18n key for the message
- `errors` (list of map from string to any, optional) — Optional field-level validation errors

## Types

### CpBoardMemberIn

Board member with hardcoded role.

- `user_id` (string, required) — Org member user id
- `role` (enum, optional) — Board role: admin | member
  - Allowed values: `admin`, `member`

### CpBoardTaskAccess

Per-board task visibility and mutate policy (member path only).

- `task_visibility` (enum, optional) — all | assigned_to_me
  - Allowed values: `all`, `assigned_to_me`
- `task_edit` (enum, optional) — anyone | admin_only | assigned_to_me
  - Allowed values: `anyone`, `admin_only`, `assigned_to_me`
- `task_create` (enum, optional) — anyone | admin_only
  - Allowed values: `anyone`, `admin_only`
- `task_delete` (enum, optional) — anyone | admin_only | assigned_to_me | disabled
  - Allowed values: `anyone`, `admin_only`, `assigned_to_me`, `disabled`

### CpBoardStageIn

Inline stage seed when creating a board or bulk-replacing stages.

- `stage_name` (string, required) — Display name
- `id` (string, optional, nullable) — Existing stage id to keep on bulk replace; omitted creates new
- `stage_key` (string, optional, nullable) — Optional slug; generated when omitted
- `entry_template_id` (string, optional, nullable) — Entry-rule template id
- `description` (string, optional, nullable) — Description
- `sort_order` (integer, optional, nullable) — Optional order; stages are re-sorted by stage group
- `stage_group` (enum, optional, nullable) — Stage category. New stages default to started; existing stages keep their category and reject a different value
  - Allowed values: `backlog`, `unstarted`, `started`, `completed`, `cancelled`

### SuccessResponseData

Payload for this endpoint

- map from string to any
- list of any
- string
- double
- boolean

## Examples

**Request**

```json
{
  "name": "string"
}
```

**Response**

```json
{
  "status": "success",
  "message": "Created successfully",
  "statusCode": 201,
  "code": "2001",
  "data": {}
}
```

**SDK Code**

```python Created
import requests

url = "https://api-dev.houseofapps.ai/v1/integrations/boards"

payload = { "name": "string" }
headers = {
    "appSecret": "appSecret",
    "licenseKey": "licenseKey",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Created
const url = 'https://api-dev.houseofapps.ai/v1/integrations/boards';
const options = {
  method: 'POST',
  headers: {
    appSecret: 'appSecret',
    licenseKey: 'licenseKey',
    'Content-Type': 'application/json'
  },
  body: '{"name":"string"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Created
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-dev.houseofapps.ai/v1/integrations/boards"

	payload := strings.NewReader("{\n  \"name\": \"string\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("appSecret", "appSecret")
	req.Header.Add("licenseKey", "licenseKey")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Created
require 'uri'
require 'net/http'

url = URI("https://api-dev.houseofapps.ai/v1/integrations/boards")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["appSecret"] = 'appSecret'
request["licenseKey"] = 'licenseKey'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"name\": \"string\"\n}"

response = http.request(request)
puts response.read_body
```

```java Created
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-dev.houseofapps.ai/v1/integrations/boards")
  .header("appSecret", "appSecret")
  .header("licenseKey", "licenseKey")
  .header("Content-Type", "application/json")
  .body("{\n  \"name\": \"string\"\n}")
  .asString();
```

```php Created
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-dev.houseofapps.ai/v1/integrations/boards', [
  'body' => '{
  "name": "string"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'appSecret' => 'appSecret',
    'licenseKey' => 'licenseKey',
  ],
]);

echo $response->getBody();
```

```csharp Created
using RestSharp;

var client = new RestClient("https://api-dev.houseofapps.ai/v1/integrations/boards");
var request = new RestRequest(Method.POST);
request.AddHeader("appSecret", "appSecret");
request.AddHeader("licenseKey", "licenseKey");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"name\": \"string\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Created
import Foundation

let headers = [
  "appSecret": "appSecret",
  "licenseKey": "licenseKey",
  "Content-Type": "application/json"
]
let parameters = ["name": "string"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-dev.houseofapps.ai/v1/integrations/boards")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```