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

List versions

GET /v1/workflows/{id}/versions Every published version, newest first. Each one has the steps as they were when it was published. Webhook header values are hidden, the same as on a workflow.
integer
default:"50"
How many to return, 1 to 100.
integer
default:"0"
How many to skip.
Response

Go back to a version

POST /v1/workflows/{id}/revert Put back the steps of an older version. This saves a new version and unpublishes the workflow. Check it and publish it again. The API cannot bring back a step that turns DND off. If the old version has such a step, we answer 400: “This workflow has a step that turns DND off. Remove that step in the dashboard first.” Pick another version.
integer
required
The version number to go back to.
It answers with the workflow, the same as Get a workflow.

Errors