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
sendorapprove. - 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
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.
This page in Markdown: /en/mail/docs/reference/close_thread.md
All the docs for an agent: /en/mail/docs/llms.txt
Legal notice · Terms · Privacy · Service status