Skip to content
Get an API key

Move, resize, replace data or reply

PATCH /boards/{boardId}/items/{itemId}

Updated 16 Sep 20263 min read
PATCH/boards/{boardId}/items/{itemId}Try it
Basehttps://api.mockflow.com/v1Scopesboards:write

position and size move and resize any item. data replaces a frame's content in place, for the types drawn as a single component (kanban, mindmap, markdown, checklist, gantt, timeline and the rest of the frames); a flowchart or a whiteboard is many components and answers 409. reply adds to a comment's thread. z-order, group and lock are not changed through the API in this version.

Authorization

Authorizationstringheaderrequired

Bearer <key>. The key needs boards:write scope. Create and manage keys in the developer console; what each scope unlocks is on the scopes page.

Path parameters

boardIdstringpathrequired
itemIdstringpathrequired

Body

application/json
positionPoint
Child attributes
xnumberrequired
ynumberrequired
sizeSize
Child attributes
widthnumber
heightnumber
dataItemData

Selected by the sibling type. One schema per item type, generated from the component registry.

replystring

Comments only: add a reply to the thread.

Response

200 · application/json
idstring
typestring

An ItemType, or other for an editor widget the API has no type for.

componentTypestring

The editor's own class name, exact where type is a family.

boardIdstring
sectionIdstring | null

The section the item sits inside, by position.

groupIdstring | null
positionPoint
Child attributes
xnumberrequired
ynumberrequired
sizeSize
Child attributes
widthnumber
heightnumber
rotationnumber
zIndexinteger
lockedboolean
textstring

Plain text extracted from the item, for search and the outline.

readbackenum<string>

One of exact, unwrapped, text, pointer, parts or none.

dataItemData

Selected by the sibling type. One schema per item type, generated from the component registry.

fromstring | null

Connectors only: the item or group: the line starts at.

tostring | null

Connectors only.

directedboolean

Connectors only.

labelstring

Connectors only.

urlstring

Opens the board focused on this item.

Errors

429rate_limited

Too many requests.

Was this page helpful?

Sign in to MockFlow

The same account you use in the app and on the API.

Forgot your password?
or
Continue with GoogleContinue with Microsoft