- Retrieve a page
Fetches information about a page (including statistics, template, layout, publishing and workflow information).
- Production serverhttps://xmapps-api.sitecorecloud.io/api/v1/pages/{pageId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://xmapps-api.sitecorecloud.io/api/v1/pages/8f0b81bc-7388-46be-b109-6e73d1114470?site=3875AC96-8ECF-44AE-8E25-851068B373CE&language=en-US&version=2&environmentId=main' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success
Path to the icon associated with the page. Example value: Applications/32x32/document_heart.png
The name of the page version. Example value: Black Friday content update
The revision of the page. Example value: f7d29433-001e-4a35-a744-876759dba468
The date the page was created. Example value: 2025-01-27T10:33:33Z
The date the page was last updated. Example value: 2025-01-27T10:39:02Z
The user who created the page. Example value: john.doe@sitecore.com
The user who last updated the page. Example value: john.doe@sitecore.com
The final layout of the page. Example value: {"devices":[{"id":"fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3","layoutId":"96e5f4ba-a2cf-4a4c-a4e7-64da88226362","placeholders":[],"renderings":[{"id":"9c6d53e3-fe57-4638-af7b-6d68304c7a94","instanceId":"ad5e15fb-896b-4415-8735-5e4d6b1543e1","placeholderKey":"headless-main","dataSource":"local:/Data/Text 1","parameters":{"GridParameters":"{7465D855-992E-4DC2-9855-A03250DFA74B}","FieldNames":"{940B57D1-13EA-429D-8C7E-2F6C1307B1B1}","Styles":"","RenderingIdentifier":"","CSSStyles":"","DynamicPlaceholderId":"1"}}]}]}
The type of layout for editing (Shared of Final). Example value: Final
The page identifier. Example value: 68900348a3b84eb8ac7df4d179c25727
The identifier of the template this page is based on. Example value: 6fe7d6551e3d4c2780105777f06c6c4f
The identifier of the page's parent. Example value: 4bc0c81a280b4b13890b7b074b9d68f4
If set to true, this page can be rendered in the XM Cloud Pages application. This value is automatically set to false for the root item of the site, as well as for the folders if there are any. Example value: True
Whether the page version is latest publishable version Example value: True
The path for the page. Example value: Sitecore/Content/Home/Categories/Products/MyProduct
{ "url": "/about", "icon": "Applications/32x32/document_heart.png", "versionName": "Black Friday content update", "revision": "f7d29433-001e-4a35-a744-876759dba468", "createdAt": "2025-01-27T10:33:33Z", "updatedAt": "2025-01-27T10:39:02Z", "createdBy": "john.doe@sitecore.com", "updatedBy": "john.doe@sitecore.com", "template": { "id": "2341ef32-42f4-4537-98d8-9ef741008eab", "name": "MainPage", "path": "/sitecore/templates/Standard Template", "baseTemplateIds": [ … ], "displayName": "Main Page", "isBranchTemplate": true }, "workflow": { "id": "77ac7ce9-803a-42e3-bb05-f79fca73cbce", "displayName": "Page Workflow", "finalState": true, "canEdit": true, "warnings": [ … ], "icon": "Applications/32x32/document_heart.png", "commands": [ … ] }, "publishing": { "isPublishable": true, "hasPublishableVersion": true, "isAvailableToPublish": true, "validFromDate": "2023-10-01T00:00:00Z", "validToDate": "2023-12-31T23:59:59Z" }, "finalLayout": "{\\\"devices\\\":[{\\\"id\\\":\\\"fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3\\\",\\\"layoutId\\\":\\\"96e5f4ba-a2cf-4a4c-a4e7-64da88226362\\\",\\\"placeholders\\\":[],\\\"renderings\\\":[{\\\"id\\\":\\\"9c6d53e3-fe57-4638-af7b-6d68304c7a94\\\",\\\"instanceId\\\":\\\"ad5e15fb-896b-4415-8735-5e4d6b1543e1\\\",\\\"placeholderKey\\\":\\\"headless-main\\\",\\\"dataSource\\\":\\\"local:/Data/Text 1\\\",\\\"parameters\\\":{\\\"GridParameters\\\":\\\"{7465D855-992E-4DC2-9855-A03250DFA74B}\\\",\\\"FieldNames\\\":\\\"{940B57D1-13EA-429D-8C7E-2F6C1307B1B1}\\\",\\\"Styles\\\":\\\"\\\",\\\"RenderingIdentifier\\\":\\\"\\\",\\\"CSSStyles\\\":\\\"\\\",\\\"DynamicPlaceholderId\\\":\\\"1\\\"}}]}]}", "sharedLayout": "{\\\"devices\\\":[{\\\"id\\\":\\\"fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3\\\",\\\"layoutId\\\":\\\"96e5f4ba-a2cf-4a4c-a4e7-64da88226362\\\",\\\"placeholders\\\":[],\\\"renderings\\\":[]}]}", "layoutEditingKind": "Final", "id": "68900348a3b84eb8ac7df4d179c25727", "name": "Home", "displayName": "Site Home", "language": "en-US", "version": 1, "templateId": "6fe7d6551e3d4c2780105777f06c6c4f", "parentId": "4bc0c81a280b4b13890b7b074b9d68f4", "hasPresentation": true, "hasChildren": true, "isLatestPublishableVersion": true, "permissions": { "canAdmin": false, "canWrite": false, "canCreate": false, "canDelete": false, "canRename": false, "canRead": false, "canPublish": false, "canDuplicate": false, "canWriteLanguage": false }, "locking": { "canUnlock": false, "isLocked": false, "lockedBy": "john.smith@skate-park.com", "lockedByCurrentUser": false }, "path": "Sitecore/Content/Home/Categories/Products/MyProduct", "route": "/Aboutus" }