> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# template.copied

> Emitted when a template is copied.

## Event Properties

| Field | Value |
| - | - |
| `event` | `"template.copied"` |
| `confidential` | `boolean` |
| `payload` | `object` |

<Tabs>
  <Tab title="Public Payload">
    | Field | Type | Description |
    | - | - | - |
    | `id` | `string` | Identifier of the copied template |
    | `title` | `string` | Name of the copied template |
    | `language` | `string` | Language of the copied template |
    | `templateType` | `"personal" \| undefined` | Whether the copy is a personal template |
    | `source` | `"template_assembler" \| undefined` | Source of the copy action |
    | `sourceTemplateType` | `"standard" \| "project" \| "personal" \| undefined` | Type of the source template being copied from |
    | `reusedSectionCount` | `number \| undefined` | Number of sections reused unchanged by reference |
    | `customisedSectionCount` | `number \| undefined` | Number of sections created with customizations |

    #### Example

    ```json theme={null}
    {
      "event": "template.copied",
      "confidential": false,
      "payload": {
        "id": "template_2",
        "title": "SOAP Copy",
        "language": "en"
      }
    }
    ```
  </Tab>

  <Tab title="Confidential Payload">
    | Field | Type | Description |
    | - | - | - |
    | `id` | `string` | Identifier of the copied template |
    | `title` | `string` | Name of the copied template |
    | `language` | `string` | Language of the copied template |

    #### Example

    ```json theme={null}
    {
      "event": "template.copied",
      "confidential": true,
      "payload": {
        "id": "template_2",
        "title": "SOAP Copy",
        "language": "en"
      }
    }
    ```
  </Tab>
</Tabs>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.