---
title: "Archive Chat"
method: POST
path: "/api/comms/{team_key}/conversations/{chat_key}/archive"
tags: ["comms"]
---

# Archive Chat

`POST /api/comms/{team_key}/conversations/{chat_key}/archive`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/comms/{team_key}/conversations/{chat_key}/archive`
- Auth: HTTP bearer

Archive or unarchive a chat.

## Path parameters

- `chat_key` string, required
- `team_key` string, required

## Query parameters

- `is_archived` boolean, required

## Response `200`

Successful Response

- object

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Chat not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
