Skip to content
API referenceWorkflows

Check what saving a draft would change

Ask what saving the draft in the body over the stored workflow would do to the workflows, profiles and triggers that use it. Nothing is saved. The editor calls this before every save. A backend without this route answers 404 or 405, and the editor then saves without asking.

POST
/workflow/{id}/impact

Authorization

AuthorizationBearer <token>

JWT token for authentication

In: header

Path Parameters

id*string

Workflow UUID

Formatuuid

Request Body

application/json

The draft, in the shape of the update request.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/workflow/497f6eca-6276-4993-bfeb-53cbbbba6f08/impact" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "message": "string",  "error": "string",  "data": {    "confirm": true,    "interface": {      "level": "major",      "breaking": true,      "changes": [        {          "side": "input",          "path": "string",          "kind": "string",          "breaking": true        }      ]    },    "items": [      {        "kind": "trigger",        "severity": "breaks",        "label": "string",        "message": "string",        "url": "string"      }    ],    "ways": [      {        "title": "string",        "description": "string",        "url": "string",        "code": "string"      }    ],    "refused": true,    "refusedMessage": "string",    "copyUrl": "string",    "renames": [      {        "direction": "input",        "from": "string",        "to": "string",        "places": [          {            "kind": "string",            "label": "string",            "url": "string",            "enabled": true          }        ]      }    ]  }}