Skip to content
Get an API key

Create, move, resize or delete many items in one draw

POST /boards/{boardId}/items:batch

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

Up to 100 operations, validated together before anything is drawn, then drawn as one action. Updates in a batch change position and size; replacing an item's data is PATCH /items/{itemId}. The Job's result.itemIds lists the created items, updated and deleted the others.

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

Headers

Idempotency-Keystringheader

A unique key per logical request. Replays within 24 hours return the original response.

Body

application/json
operationsobject | object | object[]required

Response

202 · application/json
idstring
kindenum<string>

One of item.create, item.update, item.delete, item.batch, ai.generate, ai.modify or skill.apply.

statusenum<string>

One of queued, running, succeeded or failed.

progressinteger
messagestring

Human readable progress, for example "Placing kanban".

resultobject | null
Child attributes
itemIdsstring[]
updatedstring[]
deletedstring[]
creditsUsedinteger
boardTitlestring | null
skillstring | null
convertedFromstring
sourceDeletedboolean
errorerror
Child attributes
codeenum<string>required

One of unauthorized, forbidden, not_found, validation_failed, conflict, plan_limit, rate_limited or internal.

messagestringrequired
detailsobject[]
docsUrlstring
upgradeUrlstring
createdAtstring
finishedAtstring | null

Errors

422validation_failed

The body did not match the schema for this item type.

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