Black Friday33% off all plans See plans Enter it at checkout

Boards and Elements

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

MethodPathPurpose
GET/api/moodboardsList all boards
POST/api/moodboardsCreate 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}/duplicateDuplicate into a new, self-contained board
POST/api/moodboards/{id}/sub-boardsCreate a child board and move cards into it ({ "name", "element_ids" })
POST/api/moodboards/{id}/move-elementsMove cards to another board ({ "target_board_id", "element_ids" })
GET/api/moodboards/{id}/summaryName, card count and up to four preview thumbnails
POST/api/moodboards/reorderRe-parent and re-order boards ({ "items": [{ "id", "parent_id", "sort_order" }] })
GET/api/moodboards/currentGet the current board ({ "id", "board" }, both null when none)
PUT/api/moodboards/currentSet 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.

MethodPathPurpose
GET/api/board-tagsEvery tag in the panel’s order: id, name, color, sort_order and count (how many boards carry it)
POST/api/board-tagsCreate 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}/tagsReplace 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.

MethodPathPurpose
GET/api/moodboards/{id}/archive-infoWhat archiving would take: the board’s sub-boards and the size of their folders
POST/api/moodboards/{id}/archiveStart 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}/cancelStop 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-archivesArchived boards, newest first, with their total size and recent jobs
POST/api/board-archives/{archive_id}/restoreUnarchive: 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

MethodPathPurpose
GET/api/moodboards/{id}/elementsList the cards on a board, in stacking order
POST/api/moodboards/{id}/elementsCreate a card
GET/api/moodboards/{id}/elements/{eid}Get one card
PUT/api/moodboards/{id}/elements/{eid}Update one card
PUT/api/moodboards/{id}/elementsUpdate several cards at once ({ "elements": [ … ] })
DELETE/api/moodboards/{id}/elements/{eid}Delete a card
POST/api/moodboards/{id}/elements/bulk-deleteDelete 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

  • data is replaced, not merged. An update that sends data overwrites the whole object, so read the card first and send back the complete data with your change.
  • Version check. Send the card’s current version as expected_version to 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. Without expected_version the 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 under elements and the skipped ones under rejected.

Element types

  • image, video, audio
  • note — a sticky note; its text is data.text
  • frame — a container; its name is data.name
  • shape — rectangles, ellipses, triangles, diamonds, lines, arrows and doodles
  • html — a live HTML card. The page is stored as a file referenced by data.htmlUrl (a /media/… path), with data.htmlVersion and data.title. Animated cards that render to video also carry data.fps, data.durationSeconds, data.renderWidth and data.renderHeight.
  • csv — a table card, stored as a .csv file
  • markdown, txt, docx, pdf — document cards that preview their file
  • after-effects, blender, davinci-resolve, photoshop, illustrator, figma — project cards
  • 3d-model, font, zip, folder
  • sub-board — a link to another board
  • video-project — a Video Editor project card. data holds boardId, projectId and name; 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:

MethodPathPurpose
PUT/api/moodboards/{id}/elements/{eid}/htmlWrite an HTML card’s page — see HTML Render Endpoints
PUT/api/moodboards/{id}/elements/{eid}/markdownWrite a Markdown card’s file ({ "markdown": "…" })
PUT/api/moodboards/{id}/elements/{eid}/csvWrite a table card’s file ({ "csv": "…", "header": true })
PUT/api/moodboards/{id}/elements/{eid}/csv/nameRename 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.
  • header is optional. It is stored as data.csvHeader; false shows 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

MethodPathPurpose
POST/api/moodboards/{id}/notesCreate 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.

MethodPathPurpose
POST/api/moodboards/{id}/framesCreate 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}/childrenList the cards inside a frame
POST/api/moodboards/{id}/frames/{fid}/addMove cards into a frame ({ "element_ids": [ … ] })
POST/api/moodboards/{id}/frames/{fid}/autolayoutFlow the cards left to right with wrapping and resize the frame ({ "gap": 16 })
POST/api/moodboards/{id}/frames/{fid}/gridLay 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

MethodPathPurpose
GET/api/moodboards/{id}/arrowsList arrows
POST/api/moodboards/{id}/arrowsCreate 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

Was this helpful?

0

Updated

Comments

Leave a Reply