For the integration to interact with Notion, you need to grant the integration pagepermission to interact with pages in your Notion workspace :
1.
Visit the page in your Notion workspace.
2.
Select the triple dot menu at the top right of the page.
3.
In Connections , select the connection target .
4.
Use the search bar to find and select Integration from the drop-down list.
If you share one or more pages with the integration, you can initiate an API request. If the pages are not shared, an API request will respond with an error.