Back
post /v1/blocks/{parentBlockId}/children

Create a block

Creates a block of any type directly under an existing block. Requires edit access to the parent. Send a UUID requestId. A retry after an uncertain response can create a duplicate block, so check the parent's children before retrying. A sub-goal is a block of type BLOCK_TYPE_GOAL, and its title is the initialText.

path params

parentBlockIdstring required

Request body

requestId String required

blockType String ENUM required

initialText String Plain text the block starts with. For a goal this is its title.

Responses

Was this guide helpful?