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.
The page the group belongs to.
The group to add blocks to.
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}
The page the block belongs to.
Updated text content (for
text blocks). Accepts Markdown.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}