Endpoints for boards and the elements (cards) inside them: create, read, update and delete, plus frames, notes, arrows and the file-backed cards whose content lives in a file on disk.
Boards
| Method | Path | Purpose |
|---|---|---|
GET | /api/moodboards | List all boards |
POST | /api/moodboards | Create a board ({ "name": "…" }, optional folder_path for a custom folder) |
GET | /api/moodboards/{id} | Get one board |
PUT | /api/moodboards/{id} | Update a board (name, parent, sort order, canvas transform, active projects) |
DELETE | /api/moodboards/{id} | Remove a board from the list |
POST | /api/moodboards/{id}/duplicate | Duplicate into a new, self-contained board |
POST | /api/moodboards/{id}/sub-boards | Create a child board and move cards into it ({ "name", "element_ids" }) |
POST | /api/moodboards/{id}/move-elements | Move cards to another board ({ "target_board_id", "element_ids" }) |
GET | /api/moodboards/{id}/summary | Name, card count and up to four preview thumbnails |
POST | /api/moodboards/reorder | Re-parent and re-order boards ({ "items": [{ "id", "parent_id", "sort_order" }] }) |
GET | /api/moodboards/current | Get the current board ({ "id", "board" }, both null when none) |
PUT | /api/moodboards/current | Set the current board ({ "id": "…" }; null or empty clears it) |
The current board is a backend-wide pointer to the board in focus, used by integrations that need to know which board to act on without being told each time. Setting it to an unknown id returns 404; the returned board includes "is_current": true.
DELETE keeps the board’s folder on disk by default, so it can be imported again later. Add ?delete_folder=true to move the folder’s contents to the app’s Trash folder as well. Moving cards between boards takes their media files along; arrows between moved cards travel with them, and arrows that cross the boundary are deleted.
Board object
{
"id": "Characters",
"name": "Characters",
"created_at": "2026-02-24 11:05:01",
"updated_at": "2026-05-30 19:36:54",
"canvas_transform": "{\"x\":0,\"y\":0,\"scale\":1}",
"parent_id": null,
"sort_order": 0,
"share_id": null,
"share_url": null,
"share_og_image": null,
"connected_media_dir": null,
"active_video_project_id": null,
"active_mockup_project_id": null,
"tags": ["tag_3f9a1c2b7d"],
"version": 1
}
A new board’s id is made from its name, with a number added when that id is taken. The list endpoint also returns is_current, folder_status and folder_path for each board.
Board tags
Tags group boards in the boards panel. A board’s tags field lists the ids of its tags, in order. Tags are kept on this computer only: they are not written into board folders, exports or shared boards, and tagging a board doesn’t change its updated_at.
| Method | Path | Purpose |
|---|---|---|
| GET | /api/board-tags | Every tag in the panel’s order: id, name, color, sort_order and count (how many boards carry it) |
| POST | /api/board-tags | Create a tag ({ "name": "Client A", "color": "#34d399" }; color is optional). A name that already exists, in any case, returns that tag with "existing": true, so you can ensure a tag by name. |
| PATCH | /api/board-tags/{tag_id} | Rename, recolour or reorder a tag (name, color as #rrggbb, sort_order). A name another tag already has returns 409. |
| DELETE | /api/board-tags/{tag_id} | Delete the tag and take it off every board. Returns { "ok": true, "boards": N }. |
| PUT | /api/moodboards/{id}/tags | Replace a board’s tags ({ "tags": ["tag_…", …] }; [] clears them). Unknown ids return 400. |
Tag names are trimmed to 40 characters. See Boards and Hierarchy for the panel side.
Board archives
Archiving zips a board and its sub-boards into one file and takes them off the list; restoring puts them back. Both run as background jobs.
| Method | Path | Purpose |
|---|---|---|
| GET | /api/moodboards/{id}/archive-info | What archiving would take: the board’s sub-boards and the size of their folders |
| POST | /api/moodboards/{id}/archive | Start archiving the board with its sub-boards. Returns a job; 409 if it is already being archived. |
| GET | /api/board-archive-jobs/{job_id} | Poll an archive or restore job |
| POST | /api/board-archive-jobs/{job_id}/cancel | Stop an archive while it is still zipping or checking: the half-made zip is removed and the boards stay as they are. 409 once that step has passed. |
| GET | /api/board-archives | Archived boards, newest first, with their total size and recent jobs |
| POST | /api/board-archives/{archive_id}/restore | Unarchive: the boards go back into the list and the zip is deleted. Returns a job. |
| DELETE | /api/board-archives/{archive_id} | Move the zip to the app Trash |
Elements
| Method | Path | Purpose |
|---|---|---|
GET | /api/moodboards/{id}/elements | List the cards on a board, in stacking order |
POST | /api/moodboards/{id}/elements | Create a card |
GET | /api/moodboards/{id}/elements/{eid} | Get one card |
PUT | /api/moodboards/{id}/elements/{eid} | Update one card |
PUT | /api/moodboards/{id}/elements | Update several cards at once ({ "elements": [ … ] }) |
DELETE | /api/moodboards/{id}/elements/{eid} | Delete a card |
POST | /api/moodboards/{id}/elements/bulk-delete | Delete several cards ({ "ids": [ … ] }) |
Every card has id, type, x, y, width, height, rotation, z_index, version and a data object with its type-specific fields. When you create a card without z_index, it is placed on top of the stack.
Updating safely
datais replaced, not merged. An update that sendsdataoverwrites the whole object, so read the card first and send back the completedatawith your change.- Version check. Send the card’s current
versionasexpected_versionto have the write refused with 409 (“Element changed elsewhere. Reload it before saving again.”) if someone changed the card since you read it. On a 409, read the card again, re-apply your change and retry. Withoutexpected_versionthe write is unconditional. - In a bulk update, each card can carry its own
expected_version. A stale card is skipped rather than failing the batch: the response returns the board’s cards underelementsand the skipped ones underrejected.
Element types
image,video,audionote— a sticky note; its text isdata.textframe— a container; its name isdata.nameshape— rectangles, ellipses, triangles, diamonds, lines, arrows and doodleshtml— a live HTML card. The page is stored as a file referenced bydata.htmlUrl(a/media/…path), withdata.htmlVersionanddata.title. Animated cards that render to video also carrydata.fps,data.durationSeconds,data.renderWidthanddata.renderHeight.csv— a table card, stored as a.csvfilemarkdown,txt,docx,pdf— document cards that preview their fileafter-effects,blender,davinci-resolve,photoshop,illustrator,figma— project cards3d-model,font,zip,foldersub-board— a link to another boardvideo-project— a Video Editor project card.dataholdsboardId,projectIdandname; the project can live on another board. See Video Editor Project Cards.link,youtube,vimeo,instagram,facebook,tiktok,pinterest,behance,twitter,threads— link and social cards
To add a media file that is already in the board folder, use POST /api/moodboards/{id}/media/place — see Media Operations.
File-backed cards
HTML, Markdown and table cards keep their content in a real file in the board folder. Write the content through these endpoints rather than the card’s data:
| Method | Path | Purpose |
|---|---|---|
PUT | /api/moodboards/{id}/elements/{eid}/html | Write an HTML card’s page — see HTML Render Endpoints |
PUT | /api/moodboards/{id}/elements/{eid}/markdown | Write a Markdown card’s file ({ "markdown": "…" }) |
PUT | /api/moodboards/{id}/elements/{eid}/csv | Write a table card’s file ({ "csv": "…", "header": true }) |
PUT | /api/moodboards/{id}/elements/{eid}/csv/name | Rename a table card’s file and title ({ "name": "Budget 2026" }) |
Table cards
To create a table from scratch, create a card with "type": "csv" and "data": { "title": "Sales" }, then write its content:
PUT /api/moodboards/{id}/elements/{eid}/csv
{ "csv": "Item,Price\nCamera,1200\nLens,800\nTotal,=SUM(B2:B3)", "header": true }
→ { "ok": true, "url": "/media/…/Sales.csv", "docVersion": 1767225600000, "element": { … } }
- The first write creates the file, and later writes keep its name.
- Formulas are stored exactly as written (
=SUM(B2:B3)); the canvas and the table editor calculate them. headeris optional. It is stored asdata.csvHeader;falseshows every row as a body row instead of treating row 1 as the heading.- Every write bumps
data.docVersion, so an open canvas re-reads the file.
PUT …/csv/name renames the .csv file and the card’s title. The .csv extension is kept, path separators and other characters that can’t be in a file name become -, and a name already used in the board folder gets a -2 suffix. It returns { "ok": true, "url", "title", "docVersion", "element" }, and an empty name returns 400.
If you edit a .csv, .txt or .docx file on disk directly, bump the card’s data.docVersion (or data.mdVersion for Markdown) with a normal card update — cards read their file once and show the old content until the version changes. See Table Cards and Formulas.
Notes
| Method | Path | Purpose |
|---|---|---|
POST | /api/moodboards/{id}/notes | Create a note (text, x, y, width, height, font_size, background, background_color, text_color, align_h, align_v) |
PUT | /api/moodboards/{id}/notes/{eid} | Update a note’s text or style |
A note created without z_index is stacked on top, so it stays clickable above frames.
Frames
Frames are cards too, with extra endpoints. A card belongs to a frame when its centre sits inside the frame’s bounds.
| Method | Path | Purpose |
|---|---|---|
POST | /api/moodboards/{id}/frames | Create a frame (name, color, x, y, width, height) |
GET | /api/moodboards/{id}/frames/{fid} | Get a frame |
PUT | /api/moodboards/{id}/frames/{fid} | Update a frame’s name, colour, position or size |
GET | /api/moodboards/{id}/frames/{fid}/children | List the cards inside a frame |
POST | /api/moodboards/{id}/frames/{fid}/add | Move cards into a frame ({ "element_ids": [ … ] }) |
POST | /api/moodboards/{id}/frames/{fid}/autolayout | Flow the cards left to right with wrapping and resize the frame ({ "gap": 16 }) |
POST | /api/moodboards/{id}/frames/{fid}/grid | Lay the cards out in a grid and resize the frame ({ "columns": 3, "gap": 12 }) |
The grid takes its cell shape from the first card’s proportions, like the Cols entries of the canvas Autolayout menu.
Arrows
| Method | Path | Purpose |
|---|---|---|
GET | /api/moodboards/{id}/arrows | List arrows |
POST | /api/moodboards/{id}/arrows | Create an arrow (from_element_id, to_element_id, or free from_x/from_y/to_x/to_y, plus color) |
PUT | /api/moodboards/{id}/arrows/{aid} | Update endpoints or colour (accepts expected_version) |
DELETE | /api/moodboards/{id}/arrows/{aid} | Delete an arrow |
Where to go next
- Media Operations — upload, download and place media
- HTML Render Endpoints — write and render HTML cards
- Video Project Endpoints — Video Editor projects
- Using the Board with Hermes, OpenClaw and External Agent systems — connect your own agent to the API
Leave a Reply
You must be logged in to post a comment.