getPage

abstract suspend fun getPage(id: UuidString): Page

Retrieves a page by its ID. This method fetches all page properties, content, and metadata.

Return

A Page object containing all page data

Parameters

id

The unique identifier of the page (UUID format)

See also

Throws

NotionApiException

if the page doesn't exist or the API request fails