Create a page from blueprint

Request

Creates a new page from an existing blueprint.

Security
Bearer
Query
environmentIdstring

The identifier of the environment.

Example:environmentId=main
Body

Input data containing properties of the page

blueprintIdstring, non-emptyrequired

The identifier of the blueprint to be used for the new page. Example value: 2341ef32-42f4-4537-98d8-9ef741008eab

Example:"2341ef32-42f4-4537-98d8-9ef741008eab"
languagestring, non-emptyrequired

The language of the new page. Example value: en-US

Example:"en-US"
pageNamestring, non-emptyrequired

The system name of the new page. Example value: about-us

Example:"about-us"
parentIdstring, non-emptyrequired

The identifier of the parent page. Example value: 9100b830-c85b-459b-9c37-51da74fc9ecc

Example:"9100b830-c85b-459b-9c37-51da74fc9ecc"
displayNamestring or null

The display name of the new page. Example value: About Us

Example:"About Us"
curl -i -X POST \
  'https://xmapps-api.sitecorecloud.io/api/v1/pages/blueprint?environmentId=main' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "parentId": "9100b830-c85b-459b-9c37-51da74fc9ecc",
    "pageName": "about-us",
    "blueprintId": "2341ef32-42f4-4537-98d8-9ef741008eab",
    "language": "en-US",
    "displayName": "About Us"
  }'

Responses

Success

Bodyapplication/json
handlestring or null
Response
{ "handle": "string" }