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.
string
required
The page the group belongs to.
string
required
The group to add blocks to.
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
Single column (vertical stack)
Single column (vertical stack)
Two side-by-side columns
Two side-by-side columns
text
text
content field accepts Markdown. Formatting like **bold**, # Heading, bullet lists, and tables are rendered correctly.image
image
embed
embed
link
link
pdf
action-plan
action-plan
List blocks
GET /api/v2/blocks?pageId={page_id}&groupId={group_id}
Update a block
PATCH /api/v2/blocks/{block_id}
string
required
The page the block belongs to.
string
Updated text content (for
text blocks). Accepts Markdown.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}