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)
{
"name": "Task With Children",
"uuid": "a8840040-f8d1-4641-8725-fae364a84a46",
"sub_tasks": [
{
"name": "Task With Children",
"uuid": "d6d12a9a-8e5c-4b3d-9bf9-56e6c6b924dd",
"sub_tasks": "App\\Http\\Resources\\Board\\WorkflowTreeResource",
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}