Creates a new page using the specified template under the parent page. You can set field values and the language for the new page.
Security
HTTPBearer
The unique identifier of the page template to be used for the new page.
Example:"9f8c7e6d-5b4a-4c3d-8e7f-1a2b3c4d5e6f"
The unique identifier of the parent item for the new page.
Example:"3f2504e0-4f89-11d3-9a0c-0305e82c3301"
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/pages/create
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- Array of objects
- null
curl -i -X POST \
https://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/pages/create \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-sc-job-id: job-1234' \
-d '{
"templateId": "9f8c7e6d-5b4a-4c3d-8e7f-1a2b3c4d5e6f",
"name": "About Us",
"parentId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"language": "en",
"fields": [
{}
]
}'Response
{ "itemId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "name": "About Us" }