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": "352683a8-ae6d-4c48-8657-6da63a5ed36d",
"sub_tasks": [
{
"name": "Task With Children",
"uuid": "1a18fac4-9031-42fb-a7fe-351cb2ec79fd",
"sub_tasks": "App\\Http\\Resources\\Board\\WorkflowTreeResource",
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}