---
title: "Close Task"
method: POST
path: "/api/v1/tasks/{task_id}/close"
tags: ["Tasks"]
---

# Close Task

`POST /api/v1/tasks/{task_id}/close`

Closes a task.

The command performs in the same way as our official clients:

Regular tasks are marked complete and moved to history, along with their
subtasks. Tasks with [recurring due
dates](https://todoist.com/help/articles/introduction-to-recurring-dates-YUYVJJAV)
will be scheduled to their next occurrence.

## Path parameters

- `task_id` string, required — String ID of the task

## Response `200`

Successful Response

- unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/todoist/apis/todoist-api.md) · [All operations](https://skmtc.net/todoist/apis/todoist-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/todoist/todoist-api/revisions/69a962f1578f/schema)
