curl --request GET \
--url https://app.splox.io/api/v1/workflows/{id}/start-nodes \
--header 'Authorization: Bearer <token>'{
"nodes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_type": "start",
"label": "<string>",
"pos_x": 123,
"pos_y": 123,
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"extent": "<string>",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Retrieves the start nodes for a workflow version. The id parameter is a workflow version ID, not a workflow ID.
curl --request GET \
--url https://app.splox.io/api/v1/workflows/{id}/start-nodes \
--header 'Authorization: Bearer <token>'{
"nodes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_type": "start",
"label": "<string>",
"pos_x": 123,
"pos_y": 123,
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"extent": "<string>",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}POST /workflow-requests/run.
curl https://app.splox.io/api/v1/workflows/019c3221-29da-7d08-93fa-c48dbaa8b1db/start-nodes \
-H "Authorization: Bearer YOUR_TOKEN"
id path parameter is a workflow version ID (not a workflow ID). Get the version ID from Get Latest Version or List Workflows.| Parameter | Type | Description |
|---|---|---|
id | string (uuid) | Workflow version ID |
{
"nodes": [
{
"id": "019c3221-29dc-7735-a4e3-b42ebb1a0cf1",
"workflow_version_id": "019c3221-29da-7d08-93fa-c48dbaa8b1db",
"node_type": "start",
"label": "Basic Agent",
"pos_x": 100.0,
"pos_y": 200.0,
"data": {},
"created_at": "2025-10-22T10:00:00Z",
"updated_at": "2025-10-22T10:00:00Z"
}
]
}
start_node_id needed for Run Workflow:
# 1. Get latest version
VERSION_ID=$(curl -s https://app.splox.io/api/v1/workflows/$WORKFLOW_ID/versions/latest \
-H "Authorization: Bearer $TOKEN" | jq -r '.id')
# 2. Get start node
START_NODE_ID=$(curl -s https://app.splox.io/api/v1/workflows/$VERSION_ID/start-nodes \
-H "Authorization: Bearer $TOKEN" | jq -r '.nodes[0].id')
# 3. Run workflow
curl -X POST https://app.splox.io/api/v1/workflow-requests/run \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d "{
\"workflow_version_id\": \"$VERSION_ID\",
\"chat_id\": \"$CHAT_ID\",
\"start_node_id\": \"$START_NODE_ID\",
\"query\": \"Hello!\"
}"
API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings
Workflow version ID
Start nodes retrieved successfully
Show child attributes