provider Databases GET
/v1/databases/{id} @utdk/notion
/v1/databases/{id} Retrieve a database
Retrieves a database object using the ID specified in the request path.
- id path required
- string
- Notion-Version header
- string
Try it
Authentication
Configure credentials for Notion API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import notion from '@utdk/notion';
await notion.retrieveadatabase()