# Add a language version to a page

Adds a new language version for an existing page. This allows you to have the same page content available in multiple languages.

Endpoint: POST /api/v1/pages/{pageId}/add-language
Version: v2.0
Security: HTTPBearer

## Security:

  - `HTTPBearer` (unknown)
    http bearer JWT

## Path parameters:

  - `pageId` (string, required)
    The unique identifier of the page.To get this ID, use [List pages of a site](#operation/sites-get_all_pages_by_site).

## 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):

  - `language` (string)
    The language code of the new version to add.
    Example: en

## Response 200:

  - `200` (unknown)
    Successful response

## Response 200 fields (application/json):

  - `success` (boolean)
    Whether the language version was added successfully.
    Example: true

## 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.

