TaskDependency

Create a task dependency

Changed on

Creates a directional dependency between two tasks. Requires task_id, dependent_task_id, and type_id (1 = Blocking, 2 = Waiting on, 3 = Linked).

A paired reverse record is created automatically (Blocking ↔ Waiting on; Linked is symmetric) — both share lifecycle, so type updates and deletes apply to both.

{
  "data": {
    "type": "task_dependencies",
    "attributes": {
      "task_id": 4421188,
      "dependent_task_id": 4421199,
      "type_id": 1
    }
  }
}
post/api/v2/task_dependencies

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/task_dependencies
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "task_dependencies",
    "attributes": {
      "dependency_type": "blocking"
    },
    "relationships": {
      "task": {
        "data": {
          "type": "tasks",
          "id": "120501"
        }
      },
      "blocking_task": {
        "data": {
          "type": "tasks",
          "id": "120500"
        }
      }
    }
  }
}

Response

Single task dependency

Example response

{
  "data": {
    "id": "15",
    "type": "task_dependencies",
    "attributes": {
      "dependency_type": "blocking",
      "created_at": "2026-03-01T10:00:00.000+00:00"
    },
    "relationships": {
      "task": {
        "data": {
          "type": "tasks",
          "id": "120501"
        }
      },
      "blocking_task": {
        "data": {
          "type": "tasks",
          "id": "120500"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.