---
title: "Duplicate Workflow Endpoint"
method: POST
path: "/api/v1/workflow/{workflow_id}/duplicate"
tags: ["main"]
---

# Duplicate Workflow Endpoint

`POST /api/v1/workflow/{workflow_id}/duplicate`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/workflow/{workflow_id}/duplicate`
- Auth: none declared

Duplicate a workflow including its definition, configuration, recordings, and triggers.

## Path parameters

- `workflow_id` integer, required

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- WorkflowResponse
  - `id` integer, required
  - `name` string, required
  - `status` string, required
  - `created_at` string, date-time, required
  - `workflow_definition` object, required
  - `current_definition_id` integer, nullable, required
  - `template_context_variables` object, nullable
  - `call_disposition_codes` CallDispositionCodes
    - `disposition_codes` string[]
  - `total_runs` integer, nullable
  - `workflow_configurations` object, nullable
  - `version_number` integer, nullable
  - `version_status` string, nullable
  - `workflow_uuid` string, nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/workflow/:workflow_id/duplicate/post.md)

---

[API](https://skmtc.dev/dograh/apis/dograh-api.md) - [All operations](https://skmtc.dev/dograh/apis/dograh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dograh/apis/dograh-api/revisions/faa00cf76fcb?raw)
