Sitecore API catalog/Pages API//
- Create a page
Retrieve a page
Update field values
Delete a page
Retrieve a page state
Search for pages
Retrieve insert options
Retrieve page versions
Add a version to a page
List live variant identifiers for a page
Check if a page is published to Edge
Create a page from blueprint
Save a page layout
Save page fields
Duplicate a page
Rename a page
Add a page version
Translate a page
Delete a version of a page
Create a page
Creates a new page.
Security
Bearer
Input data containing properties of the page
The system name of the new page. Example value: about-us
Example:"about-us"
The identifier of the parent page. Example value: 9100b830-c85b-459b-9c37-51da74fc9ecc
Example:"9100b830-c85b-459b-9c37-51da74fc9ecc"
The identifier of the template to be used for the new page. Example value: 2341ef32-42f4-4537-98d8-9ef741008eab
Example:"2341ef32-42f4-4537-98d8-9ef741008eab"
- Production serverhttps://xmapps-api.sitecorecloud.io/api/v1/pages
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- text/json
- application/*+json
curl -i -X POST \
'https://xmapps-api.sitecorecloud.io/api/v1/pages?environmentId=main' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"parentId": "9100b830-c85b-459b-9c37-51da74fc9ecc",
"pageName": "about-us",
"templateId": "2341ef32-42f4-4537-98d8-9ef741008eab",
"language": "en-US",
"displayName": "About Us"
}'Success
The page identifier. Example value: 8f0b81bc-7388-46be-b109-6e73d1114470
Example:"8f0b81bc-7388-46be-b109-6e73d1114470"
Response
{ "pageId": "8f0b81bc-7388-46be-b109-6e73d1114470", "name": "Home", "displayName": "Site Home", "path": "/sitecore/content/collection01/site01/Home/about" }