# Create a page

Creates a new page using the specified template under the parent page. You can set field values and the language for the new page.

Endpoint: POST /api/v1/pages/create
Version: v2.0
Security: HTTPBearer

## Security:

  - `HTTPBearer` (unknown)
    http bearer JWT

## Header parameters:

  - `x-sc-job-id` (any)
    A unique identifier for the job, used to trace, audit, and revert actions performed by an AI agent through the Agent API.

## Request fields (application/json):

  - `templateId` (string, required)
    The unique identifier of the page template to be used for the new page.
    Example: 9f8c7e6d-5b4a-4c3d-8e7f-1a2b3c4d5e6f

  - `name` (string, required)
    The name of the page to create.
    Example: About Us

  - `parentId` (string, required)
    The unique identifier of the parent item for the new page.
    Example: 3f2504e0-4f89-11d3-9a0c-0305e82c3301

  - `language` (string)
    The language code for the new page.
    Example: en

  - `fields` (any)
    A list of field objects to set on the page, or null if none.

## Response 201:

  - `201` (unknown)
    Successful response

## Response 201 fields (application/json):

  - `itemId` (string)
    The unique identifier of the created page.
    Example: 3f2504e0-4f89-11d3-9a0c-0305e82c3301

  - `name` (string)
    The name of the created page.
    Example: About Us

## Response 422:

  - `422` (unknown)
    Unprocessable entity

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array)
    The location of the error in the request.

  - `detail.msg` (string)
    The error message.

  - `detail.type` (string)
    The type of error.

  - `detail.input` (any)
    The input that caused the error.

  - `detail.ctx` (object)
    The context in which the error occurred.

