TypeScript SDK

@pontx/notion

The operator-published SDK for Notion collaborative workspace API covers every Endpoint in the current PontxSpec.

v0.1.2Node.js 18 / 20 / 22 CIESM + CommonJSTypeScript declarationsSDK Endpoint coverage 49/49

SDK quality gate

The source for v0.1.2 passed its complete unit suite and built-package E2E on Node.js 18 / 20 / 22.

SDK quality: UT 100%, E2E passed
Unit tests
5/5 · 100%
E2E
Passed
Tested commit
23e0eae
Verified
2026-08-18

Install and call

The SDK is produced by Pontx and typechecked and built before publication.

Install SDK
pnpm add @pontx/notion
TypeScript usage
import { createNotionClient } from "@pontx/notion";

const client = createNotionClient({
  auth: process.env.NOTION_ACCESS_TOKEN!
});

const result = await client.users.getSelf(
  {
    headers: {
      "Notion-Version": "2026-03-11"
    }
  }
);
console.log(result);

Command-line access

This npm package also publishes a dedicated CLI for the API. Use dry-run to inspect parameters, then supply your own provider credentials when required.

Dedicated API CLI
pnpm add --global @pontx/notion

pontx-notion call users get-self --dry-run