---
title: "Link existing tasks to a control"
method: POST
path: "/v1/controls/{id}/tasks/link"
tags: ["Controls"]
---

# Link existing tasks to a control

`POST /v1/controls/{id}/tasks/link`

## Path parameters

- `id` string, required

## Request body

- LinkTasksDto
  - `taskIds` string[], required — Task IDs to link to the control

## Response `201`

## Changes

- **2026-04-17** `6871e9212739` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/controls/:id/tasks/link/post.md)

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/9dbc609fc132/schema)
