provider Databases POST
/v1/databases/{id}/query @utdk/notion
/v1/databases/{id}/query Query a database
Query a database
- 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.queryadatabase()