Skip to content

New NotionEmbedBlock

fasteiner edited this page Sep 25, 2025 · 5 revisions

New-NotionEmbedBlock

SYNOPSIS

Creates a new Notion embed block object.

SYNTAX

None (Default)

New-NotionEmbedBlock [<CommonParameters>]

BothParams

New-NotionEmbedBlock -Url <String> [-Caption <Object>] 
 [<CommonParameters>]

DESCRIPTION

This function creates a new instance of the notion_embed_block class. You can create an empty embed block, provide a URL, or provide both a URL and a caption.

EXAMPLES

EXAMPLE 1

New-NotionEmbedBlock -Url "https://example.com"

EXAMPLE 2

New-NotionEmbedBlock -Url "https://example.com" -Caption "Example caption"

EXAMPLE 3

New-NotionEmbedBlock

PARAMETERS

-Caption

The caption (rich_text[] or object) to be displayed for the embed block.

Type: Object
Parameter Sets: BothParams
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Url

The URL to be embedded in the block.

Type: String
Parameter Sets: BothParams
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

notion_embed_block

NOTES

RELATED LINKS

Notion Module

Home
Module-FAQ
SetupOfIntegration

Commands
Classes
Enums

Clone this wiki locally