---
title: "Approve a task"
method: POST
path: "/v1/tasks/{taskId}/approve"
tags: ["Tasks"]
---

# Approve a task

`POST /v1/tasks/{taskId}/approve`

Approve a task that is in review. Only the assigned approver can approve. Moves status to done and creates an audit comment.

## Path parameters

- `taskId` string, required

## Response `200`

Task approved successfully

## Other responses

- `400` — Task is not in review
- `403` — Not the assigned approver

---

[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)
