POST
/
workflows
/
executeSync
curl --request POST \
  --url https://api.kaizenautomation.com/workflows/executeSync \
  --header 'Content-Type: application/json' \
  --data '{
  "workflowId": "<string>",
  "loginId": "<string>",
  "params": {
    "origin": "New York",
    "destination": "Los Angeles"
  },
  "timeout": 1800
}'
{
  "execution": {
    "id": "<string>",
    "workflow": {
      "id": "<string>",
      "name": "<string>"
    },
    "logins": [
      {
        "id": "<string>",
        "name": "<string>"
      }
    ],
    "authentications": [
      {
        "id": "<string>",
        "executionDispatchId": "<string>",
        "browserSessionId": "<string>",
        "status": "<string>",
        "liveViewUrl": "<string>"
      }
    ],
    "organizationId": "<string>",
    "startTime": "2023-11-07T05:31:56Z",
    "params": {},
    "status": "Completed",
    "durationMs": 123,
    "endTime": "2023-11-07T05:31:56Z",
    "response": {},
    "truncatedResponse": "<string>",
    "browserSessionId": "<string>",
    "context": {}
  }
}

Body

application/json

Response

200
application/json

Workflow execution completed successfully

Synchronous workflow execution result with finished execution data