Skip to content

Implement fetch workspace page feature #648

@leochiu-a

Description

@leochiu-a

Summary

Add a function to fetch a workspace page using the Notion JavaScript SDK. This feature would allow users to retrieve the content of a workspace-level page via the SDK, which is not currently straightforward.

Motivation

Developers building integrations or tools with Notion often need to programmatically access full workspace pages. Currently, this requires multiple API calls and manual reconstruction of content. A dedicated function could streamline workflows and reduce boilerplate code.

Proposed approach

  • Add an SDK method to fetch a workspace page given its page ID.
  • Ensure that the method aggregates page content, block structure, and relevant metadata.
  • Provide usage documentation and clear error handling for invalid or inaccessible page IDs.

Additional context

This enhancement request is to make it easier for users to interact with workspace-level pages in Node.js projects using the official SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions