provider Blocks GET
/v1/blocks/{id} @utdk/notion
/v1/blocks/{id} Retrieve a block
Retrieve a block
- 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.retrieveablock()