# POST /v1/influencers/:influencerId/clone (/docs/api/reference/influencers/clone-influencer)



<Endpoint method="POST" path="/v1/influencers/:influencerId/clone" scope="influencers:write" phase="1" />

Clones an existing influencer. The source's identity (gender, ageRange, brandVoice, language, plus the internal persona attributes) is carried forward into a new influencer in the same project. An `influencer_create` job then renders a new portrait conditioned on the source's identity — so the clone looks like the source unless your `overrides` push it elsewhere. Async — poll the returned job.

The source id is a path parameter, not a body field.

<Callout type="info">
  Clones are partner-API only. There is no UI clone button — the workflow is
  designed for programmatic fan-out (e.g. `Maria-EN` + `Maria-ES` + `Maria-PT`
  sharing the same identity with locale tweaks via `overrides`).
</Callout>

## Path parameters [#path-parameters]

<Parameters
  rows="[
  { name: 'influencerId', type: 'string (uuid)', required: true, description: 'The source influencer. Must belong to your org.' },
]"
/>

## Body [#body]

<Parameters
  title="Body"
  rows="[
  { name: 'name', type: 'string', required: true, description: 'Display name for the clone (1-128).' },
  { name: 'overrides', type: 'object', description: 'Partial identity fields applied on top of the source. Accepts `gender`, `ageRange`, `brandVoice`, `language`.' },
]"
/>

Body is strict - unknown fields return `VALIDATION`.

## Request [#request]

<Tabs items="['curl', 'TypeScript', 'Python']">
  <Tab value="curl">
    ```sh title="terminal"
    curl -X POST https://api.layers.com/v1/influencers/{influencerId}/clone \
      -H "Authorization: Bearer $LAYERS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "Maria (ES)",
        "overrides": { "language": "es-MX" }
      }'
    ```
  </Tab>

  <Tab value="TypeScript">
    ```ts title="clone-influencer.ts"
    const res = await fetch(
      `https://api.layers.com/v1/influencers/${influencerId}/clone`,
      {
        method: 'POST',
        headers: {
          'Authorization': `Bearer ${process.env.LAYERS_API_KEY}`,
          'Content-Type': 'application/json',
        },
        body: JSON.stringify({
          name: 'Maria (ES)',
          overrides: { language: 'es-MX' },
        }),
      },
    );
    const { jobId, influencerId: cloneId } = await res.json();
    ```
  </Tab>

  <Tab value="Python">
    ```py title="clone_influencer.py"
    import os, httpx

    r = httpx.post(
        f"https://api.layers.com/v1/influencers/{influencer_id}/clone",
        headers={
            "Authorization": f"Bearer {os.environ[\'LAYERS_API_KEY\']}",
            "Content-Type": "application/json",
        },
        json={"name": "Maria (PT)", "overrides": {"language": "pt-BR"}},
    )
    job = r.json()
    ```
  </Tab>
</Tabs>

## Responses [#responses]

<Response status="202" description="Clone accepted. The new influencer exists with status=pending; poll the job.">
  ```json
  {
    "jobId": "job_01HY0AB...",
    "kind": "influencer_create",
    "status": "running",
    "influencerId": "inf_4a8e1bc2...",
    "locationUrl": "/v1/jobs/job_01HY0AB..."
  }
  ```
</Response>

<Response status="404" description="Source influencer not in this org.">
  ```json
  {
    "error": {
      "code": "NOT_FOUND",
      "message": "Influencer not found.",
      "requestId": "req_..."
    }
  }
  ```
</Response>

## Notes [#notes]

* **Clone lives in the source's project.** The clone inherits `projectId` from the source. To move an identity across projects, create a new influencer in the target project.
* **Async, not sync.** The job envelope is identical to [create](/docs/api/reference/influencers/create-influencer).
* **Identity preserved.** The job loads the source's `gender`, `ageRange`, `brandVoice`, `language`, and internal persona attributes server-side, applies your `overrides` on top, then renders a new portrait conditioned on the source's appearance.
* **Overrides win.** Anything you pass in `overrides` shadows the source for that field on the new row. Unspecified fields fall through to the source.

## Errors [#errors]

| Code              | When                                                     |
| ----------------- | -------------------------------------------------------- |
| `VALIDATION`      | Missing `name`, unknown field in `overrides`, bad types. |
| `NOT_FOUND`       | Source influencer not in this org.                       |
| `FORBIDDEN_SCOPE` | Key lacks `influencers:write`.                           |

## See also [#see-also]

* [Create from scratch](/docs/api/reference/influencers/create-influencer)
* [Patch the clone](/docs/api/reference/influencers/patch-influencer)
* [The jobs envelope](/docs/api/concepts/jobs)
