> ## 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 Company

> Create a new company under a destination agency by cloning the authenticated user's company — config values, private apps, module instances, schedules, custom fields, agents, phone numbers, and SES senders are copied. Caller must be an admin of the destination agency (or its parent enterprise).



## OpenAPI

````yaml POST /settings/company/duplicate/
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:
  /settings/company/duplicate/:
    post:
      tags:
        - settings
      summary: Duplicate Company
      description: >-
        Create a new company under a destination agency by cloning the
        authenticated user's company — config values, private apps, module
        instances, schedules, custom fields, agents, phone numbers, and SES
        senders are copied. Caller must be an admin of the destination agency
        (or its parent enterprise).
      operationId: settings_company_duplicate_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyDuplicateRequestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CompanyDuplicateRequestRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CompanyDuplicateRequestRequest'
        required: true
      responses:
        '200':
          description: Company duplicated under the destination agency.
        '401':
          description: Caller is not an admin of the destination agency.
        '404':
          description: Agency not found.
      security:
        - jwtAuth: []
components:
  schemas:
    CompanyDuplicateRequestRequest:
      type: object
      properties:
        company_name:
          type: string
          minLength: 1
          description: Display name for the duplicated company.
        agency_id:
          type: string
          format: uuid
          description: Destination agency UUID.
      required:
        - agency_id
        - company_name
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````