authoring-create-item
Create a Sitecore item from a template via the Authoring and Management API and return it. Provide a parent GUID and optional field values; resolve paths to IDs first.
Instructions
Creates a Sitecore item from a template over the Authoring and Management API and returns the created item. The parent must be given as a GUID (the API takes no parent path here) — use authoring-get-item to resolve a path to its ID first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new item's name. Sitecore rejects names containing / \ : ? " < > | [ ]. | |
| fields | No | Field values to set on the new item. | |
| parent | Yes | The GUID of the parent item. A path is not accepted — resolve it with authoring-get-item. | |
| database | No | The database to create in. Defaults to master. | |
| language | No | The language to create the first version in, e.g. 'en'. | |
| templateId | Yes | The GUID of the template to create from, e.g. '{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}'. |