Notion API has supported synced_block
. I am using the Notion API with Next.js. According to the docs and the changelog, the output should contain such properties.
This is an example of an "original" synced_block. Note that all of the blocks available to be synced in another synced_block are captured in the children property.
{
"type": "synced_block",
"synced_block": {
"synced_from": null,
"children": [
{
"callout": {
"text": [
{
"type": "text",
"text": {
"content": "Callout in synced block"
}
}
]
}
}
]
}
}
So far, I can get the block_id of the original synced block from the reference synced block.
However, the children
property is missing for the original synced block. I cannot get the content of the synced_block that I created.
Only the synced_from
property can be retrieved.
"synced_block": {
"synced_from": null
}
Tried with Postman and get the same result.