Search code examples
notion-api

How do I find the database ID of an inline Notion database


My Notion workspace has, amongst others, a page that contains multiple blocks of various types. One of these blocks is an inline database. I am trying to access this inline database through the Notion API.

I can access databases that are not inline, i.e. the whole page. However, I don't know how to find the database ID for an inline database.

Can anyone please help me with this?


Solution

  • You can extract the database id from the link to the database view. This can be done by clicking the three dots next to the database name or on top next to the New button. database view link example

    you get something like https://www.notion.so/database-id?v=view-id