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": "3927183b-528e-402b-b1e6-f80cd323ea48",
"name": "Task With Children",
"sub_tasks": [
{
"uuid": "0a966cbc-8334-4dc6-9b97-3880b5b436ec",
"name": "Task With Children",
"sub_tasks": {
"uuid": "355e4fe7-b074-4ab9-894a-5b60e1713e1d",
"name": "Task With Children",
"trigger_tasks_count": 5
},
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}