curl --request POST \
--url https://app.splox.io/api/v1/workflow-requests/run \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workflow_version_id": "0199e001-a23b-7c8d-1234-567890abcdef",
"chat_id": "0199f200-a11b-7c8d-4444-888890abcdef",
"start_node_id": "0199e002-b34c-8d9e-2345-678901bcdef0",
"query": "Summarize the latest sales report",
"files": []
}
'{
"workflow_request_id": "0199f123-d60e-7ffd-9131-4cc5ab040ee8"
}Triggers a workflow execution. Creates a workflow request with the given payload, enqueues it for processing, and returns a workflow_request_id for tracking.
curl --request POST \
--url https://app.splox.io/api/v1/workflow-requests/run \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workflow_version_id": "0199e001-a23b-7c8d-1234-567890abcdef",
"chat_id": "0199f200-a11b-7c8d-4444-888890abcdef",
"start_node_id": "0199e002-b34c-8d9e-2345-678901bcdef0",
"query": "Summarize the latest sales report",
"files": []
}
'{
"workflow_request_id": "0199f123-d60e-7ffd-9131-4cc5ab040ee8"
}curl -X POST https://app.splox.io/api/v1/workflow-requests/run \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"workflow_version_id": "your-workflow-version-id",
"chat_id": "your-chat-id",
"start_node_id": "your-start-node-id",
"query": "Your message or instruction",
"files": []
}'
WorkflowRequest with status pending{ "text": "<query>", "chat_id": "<chat_id>", "files": [...] }{{ start.text }}, {{ start.chat_id }}, etc.workflow_request_id you can use to:
API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings
ID of the workflow version to execute
Chat session ID (used for context memory and SSE streaming)
ID of the Start node to begin execution at
The user message or query text. Available as {{ start.text }} in the workflow.
Optional file attachments. Available as {{ start.files }} in the workflow.
Show child attributes
Optional extra parameters merged into the payload
Workflow execution started successfully
ID of the created workflow request. Use this to listen for results, get the execution tree, or check status.