> For an agent: the map of this documentation is at https://escouade.io/en/mail/docs/llms.txt; every page exists in Markdown, at the same address with `.md` appended.

# `close_thread`

Close a conversation.

Closes a thread that has been dealt with: it leaves what is waiting for a reply (unanswered) and takes the closed status, without erasing anything. It reopens if the correspondent replies to it, or if you do. Refused while a draft or a queued message waits in it.

## Access

- **Key**: an Escouade Mail key with `send` or `approve`.
- **Space**: any space, verified or not.
- **Changes nothing**: no, it acts.
- **Safe to replay**: yes.

## Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `thread_id` | string | yes | The thread to close (thr_…). |

## Call it

```sh
curl -s https://api.subagent.fr/v1/close_thread \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer sak_…' \
  -d '{"thread_id": "…"}'
```

The full page in French, with the response fields and every refusal the tool can return: [/mail/docs/reference/close_thread](https://escouade.io/mail/docs/reference/close_thread).
