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

# Duplicate Company

> Create a new company under a destination account 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 account (or its parent enterprise).



## OpenAPI

````yaml POST /settings/company/duplicate/
openapi: 3.1.0
info:
  title: Aidan API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.callaidan.com
security: []
tags:
  - name: Webhooks
    description: >-
      **Inbound notifications.** After a voice call ends, Aidan POSTs JSON to
      the Webhook URL on your agent (Voice Agents settings or `webhook_url`).
      Your server receives these requests — they are not calls *to*
      `api.callaidan.com`. The documented path `/_reference/webhooks/...` exists
      only in this spec so the payload schema can appear in the API Reference;
      it is not callable on the production API.
paths:
  /settings/company/duplicate/:
    post:
      tags:
        - settings
      summary: Duplicate Company
      description: >-
        Create a new company under a destination account 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 account
        (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 account.
        '401':
          description: Caller is not an admin of the destination account.
        '404':
          description: Account not found.
      security:
        - jwtAuth: []
components:
  schemas:
    CompanyDuplicateRequestRequest:
      type: object
      properties:
        company_name:
          type: string
          minLength: 1
          description: Display name for the duplicated company.
        account_id:
          type: string
          format: uuid
          description: Destination account UUID.
      required:
        - account_id
        - company_name
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````