# Pick a Pinterest account's default board

Source: https://ampost.io/docs/api/accounts-set-board · Full reference: https://ampost.io/llms-full.txt

`PATCH /api/accounts/{accountId}/board` · MCP tool `accounts_set_board` · scope `accounts:write` · rate limit `connectPlatform` · success `200`

Set the board Pins go to when a post sets no `options.pinterest.boardId`: pass `boardId` (from accounts_list_boards), or `newBoardName` to create a public board and use it. Ampost checks the board with Pinterest first. The choice survives a reconnect. Returns the account; `platformMetadata.boardId` and `boardName` show the default. Other platforms return 400.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `accountId` | path | string | yes | Account id (UUID): `id` from accounts_list |
| `boardId` | body | string | no | An existing board of the account, from accounts_list_boards. Pass this or `newBoardName` |
| `newBoardName` | body | string | no | Creates a public board with this name and makes it the default. Pass this or `boardId` |

Example request:

```json
{
  "boardId": "813744226420795883"
}
```

Example response:

```json
{
  "id": "6b1f3d8a-4e2c-4a9b-8d7f-2c5e9a1b3d70",
  "platform": "pinterest",
  "platformSetId": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
  "platformAccountId": "813744295139952108",
  "username": "ampost_io",
  "avatarUrl": null,
  "status": "active",
  "scopes": [
    "user_accounts:read",
    "boards:read",
    "boards:write",
    "pins:read",
    "pins:write"
  ],
  "tokenExpiresAt": "2026-11-06T10:00:00.000Z",
  "tokenHealth": "healthy",
  "health": {
    "canPost": true,
    "needsReconnect": false,
    "issues": []
  },
  "platformMetadata": {
    "displayName": "Ampost",
    "accountType": "BUSINESS",
    "boardId": "813744226420795883",
    "boardName": "Product launches"
  },
  "analytics": {
    "available": true,
    "optInRequired": false,
    "enabled": true
  },
  "createdAt": "2026-10-06T09:00:00.000Z",
  "updatedAt": "2026-10-07T10:00:00.000Z",
  "lastUsedAt": "2026-10-06T09:00:04.000Z"
}
```
