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": "2d7dde56-22e2-4bd5-a75a-f355c7132f7c",
"name": "Task With Children",
"sub_tasks": [
{
"uuid": "89beabc4-7f05-45fd-9a02-98d49226d818",
"name": "Task With Children",
"sub_tasks": {
"uuid": "cfb4e533-c32a-46f1-900a-6f490100a804",
"name": "Task With Children",
"trigger_tasks_count": 5
},
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}