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

# Duplicate Tool

> Duplicate a module instance to a specified company (can be the same or different company)



## OpenAPI

````yaml POST /module/instance/duplicate/{instance_id}
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /module/instance/duplicate/{instance_id}:
    post:
      summary: Duplicate Module Instance
      description: >-
        Duplicate a module instance to a specified company (can be the same or
        different company)
      parameters:
        - name: instance_id
          in: path
          description: The ID of the module instance to duplicate
          required: true
          schema:
            type: string
      requestBody:
        description: Duplication details
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModuleDuplicate'
      responses:
        '201':
          description: Module instance duplicated successfully
        '400':
          description: Bad Request - Missing required fields
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: >-
            Forbidden - Insufficient permissions (requires level 3 on both
            source and destination companies)
        '404':
          description: Module instance not found
      security:
        - CompanyApiKey: []
components:
  schemas:
    ModuleDuplicate:
      type: object
      required:
        - name
        - company_id
      properties:
        name:
          type: string
          description: Name for the duplicated module instance
        company_id:
          type: string
          description: ID of the company where the module instance should be duplicated
  securitySchemes:
    CompanyApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Company API Key

````