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": "4a7871e3-405b-4c48-a726-803b888e9934",
"name": "Task With Children",
"sub_tasks": [
{
"uuid": "022d8f6d-fe97-4bde-8aa3-c6e0fa6a7806",
"name": "Task With Children",
"sub_tasks": {
"uuid": "5d23cd3a-fdbc-485c-8816-d7028340ea50",
"name": "Task With Children",
"trigger_tasks_count": 5
},
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}