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

# Link tasks to control

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

Link compliance tasks to a control so implementation work, evidence collection, and review status stay connected.

## Path parameters

- `id` string, required

## Query parameters

- `frameworkInstanceId` string, required

## Request body

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

## Response `201`

---

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