Insert header section

Inserts a section from a section site into the header.

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.

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