Skip to main content
Retrieves a Block object using the ID specified in the request path. Blocks are returned with their content and metadata.

Method Signature

Source: Client.ts:581-592

Parameters

string
required
The ID of the block to retrieve. Must be a valid Notion block ID.
string
Optional authentication token to override the client-level auth. Use this to make requests on behalf of specific integrations.

Response

Returns a BlockObjectResponse or PartialBlockObjectResponse representing the requested block.
string
Always "block"
string
The unique identifier of the block
string
The type of block (e.g., "paragraph", "heading_1", "code", etc.)
string
ISO 8601 timestamp when the block was created
PartialUserObjectResponse
User who created the block
string
ISO 8601 timestamp when the block was last edited
PartialUserObjectResponse
User who last edited the block
boolean
Whether the block has child blocks
boolean
Whether the block is archived
boolean
Whether the block is in the trash
ParentForBlockBasedObjectResponse
The parent of the block (page, block, or workspace)
object
Type-specific content. For example, a paragraph block has a paragraph property containing its rich_text content.

Examples

Retrieve a Paragraph Block

Retrieve a Code Block

Retrieve with Custom Auth

Check if Block Has Children

Type Guards

Use the isFullBlock() helper to check if a block is fully populated:

Error Handling