Durable Workflows

Update Workflow Draft

Changed on

Replaces the mutable draft product graph. Rejected (409) if expected_revision is stale, and 422 graph_invalid if the graph uses node types not available for authoring — the draft is left unchanged in both cases.

patch/v3/workflows/{workflow_id}

Request

  • Base URL
    https://api.heygen.com
  • URL
    https://api.heygen.com/v3/workflows/{workflow_id}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

workflow_idstring required

Workflow definition ID

Request body

expected_revisioninteger required

draft_revision the client last read; the update is rejected (409) if stale.

Response

Successful response

Changes