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": "37c656a9-fdee-480e-a34f-c56a5bead362",
"name": "Task With Children",
"sub_tasks": [
{
"uuid": "375cd4ab-e7e1-4a48-ba97-8478ef6594a0",
"name": "Task With Children",
"sub_tasks": "App\\Http\\Resources\\Board\\WorkflowTreeResource",
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}