Organisations
Make a live whiteboard
Makes a board with one empty tab, open to every member to edit.
POST
/orgs/{org}/boardsTL;DR
| Question | Answer |
|---|---|
| What does it do? | Make a live whiteboard. |
| What does it take? | A JSON body of type CreateBoardBody. |
| What does it return? | Status 201 with a body of type Board. |
| What can go wrong? | 400 the body is not valid; 401 not signed in; 403 boards are not turned on for this organisation (boards.not_enabled), the caller may look but not change it (boards.forbidden), or the request came from an origin that may not make changes; 404 no such organisation, board or tab, or the board is not open to the caller: the cases look alike; 409 the organisation keeps as many boards as it may (boards.limit_reached); 429 too many requests; 503 organisations or boards are not set up on this server. Every failure uses the one error envelope. |
What it does
Makes a board with one empty tab, open to every member to edit. Its label is the one sent or the organisation's default. Any member but a reader may; 409 boards.limit_reached when the organisation keeps as many as its plan allows.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
org | string | yes | The organisation's id or its slug. |
Request body
The body has the type CreateBoardBody.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | at least 1 character; at most 120 characters. |
classification | "public" | "internal" | "confidential" | no |
Responses
| Status | Meaning | Body |
|---|---|---|
| 201 | The new board. | Board |
| 400 | The body is not valid. | ErrorResponse |
| 401 | Not signed in. | ErrorResponse |
| 403 | Boards are not turned on for this organisation (boards.not_enabled), the caller may look but not change it (boards.forbidden), or the request came from an origin that may not make changes. | ErrorResponse |
| 404 | No such organisation, board or tab, or the board is not open to the caller: the cases look alike. | ErrorResponse |
| 409 | The organisation keeps as many boards as it may (boards.limit_reached). | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
| 503 | Organisations or boards are not set up on this server. | ErrorResponse |
Response body
A 201 answer has the type Board.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | at least 22 characters; at most 22 characters; pattern ^[0-9A-Za-z]+$. |
name | string | yes | |
classification | "public" | "internal" | "confidential" | yes | |
access | "org" | "restricted" | yes | |
role | "view" | "edit" | "manage" | yes | view: look; edit: change the tabs; manage: also change who may open the board. |
tabCount | integer | yes | minimum 0. |
createdAt | integer | yes | |
updatedAt | integer | yes | |
createdBy | string | null | yes | The email address of the member who made it, or null when they left. |
live | boolean | yes | True when someone opened its live connection in the last two minutes. |
kept | boolean | yes | |
live | boolean | no | |
orgRole | "view" | "edit" | yes | What every member gets when access is org. |
head | BoardHead | yes | |
head.id | string | yes | at least 22 characters; at most 22 characters; pattern ^[0-9A-Za-z]+$. |
head.orgId | string | yes | |
head.version | integer | yes | |
head.tabs | BoardTab[] | yes | |
head.tabs[].id | string | yes | at least 12 characters; at most 12 characters; pattern ^[0-9A-Za-z]+$. |
head.tabs[].name | string | yes | |
head.tabs[].kind | string | yes | The kind the source declares, such as flow. |
head.tabs[].position | number | yes | |
head.tabs[].version | integer | yes | |
head.tabs[].updatedAt | integer | yes | |
head.tabs[].updatedBy | string | yes | Who changed it last: an email address, an agent and its member, or a key name. |
head.tabs[].library | object | null | yes | |
limits | BoardLiveLimits | yes | |
limits.sessionMinutes | integer | yes | |
limits.idleMinutes | integer | yes | |
limits.hiddenGraceSeconds | integer | yes | |
limits.participants | integer | yes | |
limits.tabs | integer | yes | |
liveAvailable | boolean | yes | False when today's live minutes are spent: the board opens read-only and reloads its tabs by hand. |
url | string | yes | The board's address in the portal. |
shortUrl | string | yes | The short address, for chat and a QR code. |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |