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

# Duplicate Resume

> Duplicate an existing resume into a new CV

## Overview

Create a new resume that copies every CV-level setting from a source resume: template, design settings, section order, optional fields, hidden items, personal overrides, item order, and the cvData snapshot. The duplicate is never the default. The duplicate also gets its own independent copy of the source's content (experiences, education, skills, etc.) - editing one doesn't affect the other.

**Common use cases:**

* **Variant creation** - duplicate a base CV and tweak `hiddenItems` / `personalOverrides` for a different role.
* **Backup before edits** - keep a known-good snapshot before letting an agent rewrite a CV.
* **A/B testing** - keep two near-identical CVs and tweak one design dimension.

<Note>
  **Scope required:** `resume:write` | **Rate limit:** 10 requests/min
</Note>

## Request

```bash theme={null}
POST /v1/resume/{id}/duplicate
```

### Path Parameters

<ParamField path="id" type="string" required>
  Source resume id to duplicate.
</ParamField>

### Body Parameters

<ParamField body="name" type="string">
  Name for the new copy (max 200 chars). Defaults to `<source name> - copy`.
</ParamField>

### Example

```bash theme={null}
curl -X POST "https://api.mokaru.ai/v1/resume/clx1234/duplicate" \
  -H "Authorization: Bearer mk_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Backend Engineer - Stripe variant" }'
```

## Response

<ResponseField name="success" type="boolean">Whether the duplicate succeeded.</ResponseField>
<ResponseField name="id" type="string">The new resume's unique ID.</ResponseField>

```json theme={null}
{
  "success": true,
  "id": "clx9876..."
}
```
