Publish Workflow

Takes the workflow live: publishes the current draft and turns the workflow
on so it accepts triggers.

When a draft exists (any workflow edited through createWorkflowStep /
updateWorkflowStep / deleteWorkflowStep has one), the draft is copied to
a new version, that version becomes current, and the draft is consumed —
so draft edits go live rather than being left behind. When no draft exists,
the existing current version is simply turned on.

Every step's configuration is validated here, not while editing. Incomplete
steps return 422 with one error per problem, each naming the offending
step_id and field. A workflow with neither a draft nor a current version
returns 422.

OAuth callers require the workflows:update scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Workflow ID

Responses

Callback
Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json