Authentication
Browser Sessions
Workflows
Instructor
API Reference
Execute a workflow synchronously
Executes a workflow with the specified login and parameters and waits for completion
POST
/
workflows
/
executeSync
Copy
Ask AI
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
}'
Copy
Ask AI
{
"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
Copy
Ask AI
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
}'
Copy
Ask AI
{
"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": {}
}
}
Assistant
Responses are generated using AI and may contain mistakes.