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

> Clone a workflow under the same or a different company. Triggers, actions, and folder placement are copied; webhook keys and runtime trigger state are reset. Caller must be admin (level 3) on both source and target companies.



## OpenAPI

````yaml POST /workflow/{workflow_id}/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:
  /workflow/{workflow_id}/duplicate/:
    post:
      tags:
        - workflow
      summary: Duplicate Workflow
      description: >-
        Clone a workflow under the same or a different company. Triggers,
        actions, and folder placement are copied; webhook keys and runtime
        trigger state are reset. Caller must be admin (level 3) on both source
        and target companies.
      operationId: workflow_duplicate_create
      parameters:
        - in: path
          name: workflow_id
          schema:
            type: string
            format: uuid
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowDuplicateRequestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/WorkflowDuplicateRequestRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/WorkflowDuplicateRequestRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowDuplicateResponse'
          description: ''
        '400':
          description: Missing `name` or `company_id`.
        '404':
          description: Source workflow or target company not found.
      security:
        - jwtAuth: []
components:
  schemas:
    WorkflowDuplicateRequestRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
        company_id:
          type: string
          format: uuid
          description: >-
            Destination company UUID. Use the same company UUID to duplicate
            within the company.
      required:
        - company_id
        - name
    WorkflowDuplicateResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
      required:
        - id
        - name
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````