ACTIVE.
Base URL
Required scopes
This endpoint requires theWORKFLOW_WRITE_API scope (Workflow Write API) and editor access.
Parameters
Versions
Versions are numberedmajor.minor, for example 1.3, then 1.4 or 2.0, counted from the highest published version. Older three-part versions such as 1.2.3 stay valid.
- There are no patch releases.
patchis accepted and publishes the next minor version, likeminor. - Until the workflow is shared with users, every publish creates the next major version, whatever
bumpTypesays. - Once it’s shared with users,
minoris an Addition that users get automatically, andmajoris a Breaking change they update to manually. A publish that adds a step where each person connects their own account must usemajor. Otherwise it’s rejected withWORKFLOW_MAJOR_VERSION_REQUIRED. - A
majorpublish notifies users on an older major version that an update is available. - Once it’s shared with users, every publish needs at least one connection that each person sets up, unless the workflow has a Meeting End trigger. A publish where every connection is shared for everyone is rejected with
WORKFLOW_PUBLISH_REQUIRES_BYOC, even withconfirmModeChange: true. - A publish that switches the workflow between personal and shared connections is rejected with
409WORKFLOW_MODE_CHANGE_CONFIRMATION_REQUIRED. Send it again withconfirmModeChange: true.
First publish name
The first publish needs a name, because publishing makes the workflow visible to others. If the workflow has no name yet, the first publish is rejected with400 WORKFLOW_NAME_REQUIRED. A workflow created in the builder counts as unnamed until someone renames it. Send name in the request, or set it first with update. There’s no automatic fallback name.
Other rejections
Publish is rejected when the draft has a disconnected trigger, when a webhook is unauthenticated and the workspace requires webhook auth, or when the workflow is a template. Pause a live workflow with update andstatus: "INACTIVE".
Example
Response format
Success response (200 OK)
workflow matches the object on Workflow API Overview.
Error handling
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.