View an archive of Notion Developers updates prior to September 2023
New functionality not available to old API versions; code, inline databases, and database page blocks
As of September 28, 2021, new block types and API endpoints will not be supported in older versions of the API. If you’re currently on version 2021-05-11 or 2021-05-13, upgrade to 2021-08-16 to take advantage of the new block types in this changelog and any other block types or endpoints introduced after September 28.
API functionality introduced before September 28 will continue to work with older API versions.
We have added support for retrieving, adding and updating code blocks, inline databases and database page blocks.
Code blocks
You can now can retrieve and add code blocks when using Append block children and Retrieve block children.
Below is an example response from Retrieve block children containing a code block uploaded to Notion.
Inline databases and database page blocks
You can now can retrieve child database blocks when using Retrieve block children and Retrieve block.
Updating child_database blocks
To update child_database type blocks, use the Update database endpoint. Updating the block’s title updates the text displayed in the associated child_database block.
Below is an example response from Retrieve block children containing a child database uploaded to Notion.