Add Dependency

Set a task as waiting on or blocking another task.

SecurityAuthorization_Token
Request
path Parameters
task_id
required
string

This is the task which is waiting on or blocking another task.

query Parameters
custom_task_ids
boolean

If you want to reference a task by it's custom task id, this value must be true.

team_id
number <double>

When the custom_task_ids parameter is set to true, the Workspace ID must be provided using the team_id parameter.
For example: custom_task_ids=true&team_id=123.

Request Body schema: application/json
required

Use the depends_on parameter in the request body to specify the task that must be completed before the task in the path parameter.

Use the dependency_of parameter in the request body to specify the task that's waiting for the task in the path parameter to be completed.

You can only use one per request.

depends_on
string
depedency_of
string
Responses
200
post/v2/task/{task_id}/dependency
Request samples
application/json
{
  • "depends_on": "9hw"
}
Response samples
application/json
{ }