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

# Duplicate a resume

> Creates a copy of an existing resume with the same data. Optionally override the name, slug, and tags for the duplicate. If not provided, the original resume's name, slug, and tags are used. Returns the ID of the duplicated resume. Requires authentication.



## OpenAPI

````yaml /spec.json post /resumes/{id}/duplicate
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 5.1.0
  description: Reactive Resume API
  license:
    name: MIT
    url: https://github.com/amruthpillai/reactive-resume/blob/main/LICENSE
  contact:
    name: Amruth Pillai
    email: hello@amruthpillai.com
    url: https://amruthpillai.com
servers:
  - url: http://localhost:3000/api/openapi
security:
  - apiKey: []
externalDocs:
  url: https://docs.rxresu.me
  description: Reactive Resume Documentation
paths:
  /resumes/{id}/duplicate:
    post:
      tags:
        - Resumes
      summary: Duplicate a resume
      description: >-
        Creates a copy of an existing resume with the same data. Optionally
        override the name, slug, and tags for the duplicate. If not provided,
        the original resume's name, slug, and tags are used. Returns the ID of
        the duplicated resume. Requires authentication.
      operationId: duplicateResume
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: The ID of the resume.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  description: The name of the resume.
                slug:
                  type: string
                  minLength: 1
                  description: The slug of the resume.
                tags:
                  type: array
                  items:
                    type: string
                  description: The tags of the resume.
              required:
                - name
                - slug
                - tags
      responses:
        '200':
          description: The ID of the duplicated resume.
          content:
            application/json:
              schema:
                type: string
                description: The ID of the duplicated resume.
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.

````