---
title: "Review a single task"
method: POST
path: "/contracts/{contract_id}/tasks/{task_id}/reviews"
tags: ["Tasks"]
---

# Review a single task

`POST /contracts/{contract_id}/tasks/{task_id}/reviews`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/tasks/{task_id}/reviews`
- Auth: HTTP bearer

Submits an approval or rejection review for a task associated with a contract. If the review status is declined, an optional reason may be included in the request body.

 **Token scopes**: `contracts:write`

## Path parameters

- `contract_id` string, required
- `task_id` string, required

## Request body

- object
  - `data` ContractsContractIdTasksTaskIdReviewsPostRequestBodyContentApplicationJsonSchemaData
    - `reason` string, nullable: Optional reason for declining the task.
    - `status` 'approved' | 'declined', required: The review status of the task. Possible values are 'approved' or 'declined'.

## Response `201`

The task review was successfully processed.

- TasksCreateContractTaskReviewResponse201
  - `data` ContractsContractIdTasksTaskIdReviewsPostResponsesContentApplicationJsonSchemaData, required
    - `created` boolean, required: Indicating whether the task review was created

## Other responses

- `400`: Bad request. Missing required fields or invalid data format.
- `401`: Unauthorized. Authentication credentials are missing or invalid.
- `403`: Operation failed.
- `404`: Not found. The specified task or contract was not found.
- `500`: Internal server error. An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/deel/apis/endpoints-2.md) - [All operations](https://skmtc.dev/deel/apis/endpoints-2/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints-2/revisions/b48979ae8a04?raw)
