Render a tree of the structure of the workflow. Run in API Explorer
Ask AI
GET
/api/v1/workflow/{workflow_uuid}/tree
curl \
--request GET 'https://api.plannrcrm.com/api/v1/workflow/6ff8f7f6-1eb3-3525-be4a-3932c805afed/tree' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"uuid": "a6cd4210-a131-48f6-89b8-34e14c25121c",
"name": "Task With Children",
"sub_tasks": [
{
"uuid": "09a46c2f-31d9-4e1b-8162-1bebc38b472a",
"name": "Task With Children",
"sub_tasks": {
"uuid": "afedc975-d3e0-4983-8cc1-be7bc56686a2",
"name": "Task With Children",
"trigger_tasks_count": 5
},
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}