Workflows

Move workflows to a folder

POST
/api/workflows/move

Moves 1-500 workflows into a folder, or to the top level with folderId: null. All or nothing: if any id is not a live workflow of the organization, nothing moves. Only folderId changes: enabled state, graph, triggers, revision and version are untouched.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/workflows/move" \  -H "Content-Type: application/json" \  -d '{    "workflowIds": [      "66b1f0c2a1b2c3d4e5f60719"    ],    "folderId": null  }'
{  "success": true,  "data": {    "workflowIds": [      "string"    ],    "folderId": "string"  },  "message": "string"}