Insert header element

Adds a new element (Section, Column, or Widget) to the site 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

Element to insert

children
array of objects

Nested child elements to insert together with this element in a single request. Enables inserting an entire element hierarchy (e.g. a section with its columns and widgets) in one call.

children
connected_data
object

Data bindings for SECTION element

custom_class_names
array of strings
custom_class_names
string
enum
required
Allowed:
string
string
string
props
object
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