Skip to main content
POST
These endpoints are for the VIP plan only. Other plans get a 403. See Plan access.

Publish

POST /v1/workflows/{id}/publish Check the workflow and make the current steps live. Each publish saves a new version. The workflow must be on to start runs. If the check finds problems, nothing is published and we answer 400 with every problem in errors. Each field names the step as nodes.<stepId>.<field>. A problem with the whole workflow, like a missing trigger, uses nodes:
If the workflow has a schedule trigger and we could not set up the schedule, the workflow is still published. The answer then has a scheduleError that says so. Publish again to try again.

Unpublish

POST /v1/workflows/{id}/unpublish Stop the workflow from starting new runs. Its steps stay as they are, and you can publish again later.

Path Parameters

string
required
The workflow’s id.
Both answer with the workflow, the same as Get a workflow.

Errors