---
title: "Close Thread"
method: POST
path: "/api/v1/admin/threads/{recipient_id}/close"
---

# Close Thread

`POST /api/v1/admin/threads/{recipient_id}/close`

## Request

- Base URL: `https://trovastorage.it` (the document declares no server; this is the origin it was published from)
- URL: `https://trovastorage.it/api/v1/admin/threads/{recipient_id}/close`
- Auth: one of:
  - API key in header `X-Access-Token`
  - HTTP bearer

Close a thread: neither side writes in it again (MSG-1). Audited.

## Path parameters

- `recipient_id` string, uuid, required

## Response `200`

Successful Response

- AdminThread
  - `recipient_id` string, uuid, required
  - `lead_id` string, uuid, required
  - `site_name` string, required
  - `closed` boolean, required
  - `messages` ThreadMessageOut[], required
    - `id` string, uuid, required
    - `sender` string, required
    - `body` string, required
    - `created_at` string, date-time, required
    - `read` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trovastorage/apis/stock-your-inventory.md) · [All operations](https://skmtc.dev/trovastorage/apis/stock-your-inventory/llms.txt) · [OpenAPI document](https://skmtc.dev/trovastorage/apis/stock-your-inventory/revisions/c75f591a585c?raw)
