Insert Section

Inserts a section from a section site into the page. Similar to V1 insertPageElement behavior. The section to insert is identified by the required section_id (the alias of an existing section site, equivalent to elementSourceId in V1). Returns the full page elements response.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

The Page Elements v2 API supports Flex/Editor 2.0 sites only, not Classic Editor sites. Requests against Classic sites return HTTP 400: Page elements are only supported for flex sites.

Path Params
string
required

The site's unique name (its ID), returned when the site is created.

string
required

The page's UUID, returned by List pages.

Body Params

Section to insert

string

Id of the existing sibling element before which the section is inserted; omit to append at the end.

string

Optional section parent. Omit to use the endpoint default: body for a page or header for the header. Pass hamburger_menu explicitly to insert into the hamburger menu.

string
required
length ≥ 1

Alias of an existing section site to insert (equivalent to elementSourceId in V1). It identifies the source section site whose content is added to the page.

Responses

405

Method Not Allowed

500

Internal Server Error

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json