Skip to main content
POST
/
workflows
/
executeBatch
Execute multiple workflows in a batch
curl --request POST \
  --url https://api.kaizenautomation.com/workflows/executeBatch \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Monthly Report Generation",
  "executions": [
    {
      "workflowId": "<string>",
      "params": {
        "origin": "New York",
        "destination": "Los Angeles"
      },
      "loginId": "<string>",
      "name": "User batch execution",
      "timeout": 10800,
      "useProxy": false,
      "startBlockId": "1",
      "isTest": false
    }
  ]
}
'
{
  "batchId": "batch_123",
  "executionIds": [
    "<string>"
  ],
  "message": "Batch execution started successfully"
}

Body

application/json
name
string
required

Name for the execution batch

Example:

"Monthly Report Generation"

executions
object[]
required

Array of workflow execution parameters. Each execution must specify its own workflowId.

Response

Batch execution started successfully

batchId
string
required

ID of the created execution batch

Example:

"batch_123"

executionIds
string[]
required

Array of created execution IDs

message
string
required

Success message

Example:

"Batch execution started successfully"