Skip to main content
POST
Duplicate a workflow by ID
Legacy endpoint - deprecated. Unversioned endpoints are scheduled for removal on July 31, 2026. A public v1 replacement is not currently listed in the v1 reference. This endpoint remains available for existing integrations until then.
Creates a complete copy of a workflow, every node, every edge, every per-node configuration, in draft status. The duplicate is independent from the original: changes you make to it do not affect the live workflow, and leads enrolled in the original are not carried over to the duplicate. The duplicate keeps the original’s name with a (Copy) suffix by default. Rename it with Update Workflow before activating.

When to use this

  • Safe iteration: duplicate a working workflow, edit the copy, A/B test the change, then promote the copy when it outperforms the original.
  • Variant per campaign: start from a proven workflow structure for a new outreach with different prompts, agents, or wait times.
  • Backup before risky edits: duplicate before a major structural change so you can fall back to the snapshot if needed.
  • Cross-team reuse: share a known-good workflow design between teams without exposing the original.
A duplicate does not include lead enrollments. After the copy is created, enroll the leads you want to test through Upload Workflow Leads. When the copy is ready, Activate Workflow to go live.

What gets copied

  • All nodes (with their node_type, label, config, and position_x/position_y).
  • All edges (with their from_node_id, to_node_id, and label).
  • Workflow metadata such as name and description.
What does not get copied:
  • Enrolled leads.
  • Historical call logs.
  • The original workflow’s status: the duplicate always starts as draft.

Path parameters

Errors

  • 404 Not Found is returned when the source workflow does not exist.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-organization-id
string
required

RSA encrypted organization ID (base64 format)

Example:

"BASE64_ENCRYPTED_ORG_ID_HERE"

Path Parameters

id
string
required

Response

Workflow duplicated successfully