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

block_id
string
required
The ID of the block to retrieve. Must be a valid Notion block ID.
auth
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.
object
string
Always "block"
id
string
The unique identifier of the block
type
string
The type of block (e.g., "paragraph", "heading_1", "code", etc.)
created_time
string
ISO 8601 timestamp when the block was created
created_by
PartialUserObjectResponse
User who created the block
last_edited_time
string
ISO 8601 timestamp when the block was last edited
last_edited_by
PartialUserObjectResponse
User who last edited the block
has_children
boolean
Whether the block has child blocks
archived
boolean
Whether the block is archived
in_trash
boolean
Whether the block is in the trash
parent
ParentForBlockBasedObjectResponse
The parent of the block (page, block, or workspace)
[type]
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