Append block children
PATCH https://api.notion.com/v1/blocks/:id/children
Request Body
{"children"=>[{"object"=>"block", "type"=>"heading_2", "heading_2"=>{"rich_text"=>[{"type"=>"text", "text"=>{"content"=>"Lacinato kale"}}]}}, {"object"=>"block", "type"=>"paragraph", "paragraph"=>{"rich_text"=>[{"type"=>"text", "text"=>{"content"=>"Lacinato kale is a variety of kale with a long tradition in Italian cuisine, especially that of Tuscany. It is also known as Tuscan kale, Italian kale, dinosaur kale, kale, flat back kale, palm tree kale, or black Tuscan palm.", "link"=>{"url"=>"https://en.wikipedia.org/wiki/Lacinato_kale"}}}]}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
Notion-Version | string |
RESPONSES
status: OK
{"object":"block","id":"a1712d54-53e4-4893-a69d-4d581cd2c845","created_time":"2021-04-27T20:38:19.437Z","last_edited_time":"2021-05-12T06:07:37.724Z","has_children":true,"type":"child_page","child_page":{"title":"Who Will Teach Silicon Valley to Be Ethical? "}}