Skip to main content

Endpoints

Block type is immutable after creation. To change a block’s type, delete it and create a new one.

Block types


Create blocks

POST /api/v2/blocks Blocks are organized into columns. Each element of columns is a vertical stack of blocks; multiple elements appear side by side.
pageId
string
required
The page the group belongs to.
groupId
string
required
The group to add blocks to.
columns
array
required
Array of column objects. Each column contains a blocks array stacked vertically. Multiple columns appear side by side on the page.

Layout examples

The content field accepts Markdown. Formatting like **bold**, # Heading, bullet lists, and tables are rendered correctly.
The image is automatically fetched from the provided URL and stored in Flowla S3.
The PDF is automatically fetched and stored in Flowla S3.
Once created, use the Action Items endpoints to add tasks to this block.

List blocks

GET /api/v2/blocks?pageId={page_id}&groupId={group_id}

Update a block

PATCH /api/v2/blocks/{block_id}
pageId
string
required
The page the block belongs to.
content
string
Updated text content (for text blocks). Accepts Markdown.
url
string
Updated URL (for image, embed, link, pdf blocks). For image and pdf, the file is automatically fetched and stored in Flowla S3.
Example

Delete a block

DELETE /api/v2/blocks/{block_id}?pageId={page_id}
If the block is an action-plan block, all its action items are deleted too.