Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • name string

      The name of the task.

    • sub_tasks array[object]

      The sub tasks of the workflow task.

    • The number of tasks this task will trigger when it is added to the workflow.

GET /api/v1/workflow/{workflow_uuid}/tree
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/workflow/workflow_uuid/tree' \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json"
Response examples (200)
{
  "name": "Task With Children",
  "uuid": "70d894db-cc5a-4de7-b051-8be7cb2b71c7",
  "sub_tasks": [
    {
      "name": "Task With Children",
      "uuid": "c52fdfc2-353b-45d7-a0be-4147764eb808",
      "sub_tasks": "App\\Http\\Resources\\Board\\WorkflowTreeResource",
      "trigger_tasks_count": 5
    }
  ],
  "trigger_tasks_count": 5
}