Skip to content
Docs
Open Escouade
Documentation contents

Docs › Mail › Tools

close_thread

View as .md

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

ParameterTypeRequiredDescription
thread_idstringyesThe thread to close (thr_…).

Call it

Terminal
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