Skip to main content

Clone sequence

Clone an existing sequence into a new DRAFT. Copies steps, exit rules, and schedule.

POST/api/sequences/{sequence_id}/clone
HTTP referenceScope sequences:writeUpdated September 27, 2026

This page documents the canonical HTTP contract for this endpoint.

Path parameters

  • sequence_idrequired

    string

    Sequence ID to clone.

Query parameters

  • actorUserId · optional

    string

    Optional actor override.

Body parameters

  • name · optional

    string

    Optional name for the clone. If omitted or blank, the source name with " (Copy)" appended is used.

  • targetSourceTableId · optional

    string

    Optional source-table ID to retarget the clone. If omitted or null, the clone keeps the source sequence table. When set, an omitted targetSourceTableName clears the cloned display name. The snake_case alias target_source_table_id is also accepted.

  • targetSourceTableName · optional

    string

    Optional display name for targetSourceTableId. The snake_case alias target_source_table_name is also accepted.

Errors

StatusMeaning
401Invalid API key or missing auth.
403Missing sequences:write scope.
404Sequence not found.
400The organization context is missing or the source sequence flow graph is invalid.

Docs