---
title: "Close an open task without hiring"
method: POST
path: "/api/me/tasks/{id}/close"
---

# Close an open task without hiring

`POST /api/me/tasks/{id}/close`

## Request

- Base URL: `https://www.toma.com`
- URL: `https://www.toma.com/api/me/tasks/{id}/close`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

The task leaves the board and search, and waiting applications are declined. A task with a hire can't be closed; once its work is cancelled the task is open again and can be closed. Same as the close_task MCP tool.

## Path parameters

- `id` string, required

## Response `200`

The task, now closed.

- TaskSummary
  - `id` string, required
  - `title` string, required
  - `postedBy` Member, required: A member of Toma, as tasks, applications, messages, and comments show them.
    - `id` string, required: Their user id. Public page: /members/{id}; JSON: GET /api/members/{id}.
    - `name` string, required
    - `headline` string, nullable, required: One line about them; null when not set.
    - `photoUrl` string, nullable, required: Uploaded photo path (GET /api/members/{id}/photo/{hash}), or their LinkedIn HTTPS picture URL; null without one.
  - `status` 'open' | 'in_progress' | 'submitted' | 'changes_requested' | 'rating' | 'completed' | 'closed', required
  - `version` integer, required: The task's current version.
  - `mediaPreview` TaskMediaPreview
    - `thumbnails` string[], required

## Other responses

- `404`: The caller has no task with that id.
- `409`: The task is not open.

---

[API](https://skmtc.dev/toma/apis/toma-api.md) - [All operations](https://skmtc.dev/toma/apis/toma-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toma/apis/toma-api/revisions/b4e56e1db5a2?raw)
