> For the complete documentation index, see [llms.txt](https://docs.taskade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.taskade.com/developers/comprehensive-api-guide/tasks/complete-task.md).

# Complete Task

Complete a task with the Taskade REST API v1 (POST /projects/{projectId}/tasks/{taskId}/complete).

Use this endpoint to complete a task in a project. To undo it, use [Uncomplete Task](/developers/comprehensive-api-guide/tasks/uncomplete-task.md).

{% hint style="info" %}
**Generated reference:** This endpoint is also at [taskade.com/docs/rest/task-complete](https://www.taskade.com/docs/rest/task-complete). Taskade generates that page from the live OpenAPI spec. AI agents can do most of this work through the [hosted Taskade MCP server](/developers/workspace-mcp/genesis-app-mcp.md).
{% endhint %}

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/projects/{projectId}/tasks/{taskId}/complete" method="post" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-49e40343dfe39109a3f0620b76420f962ebb99c4%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}
