# Chat

## 채팅방 생성

## 채팅방 생성

<mark style="color:green;">`POST`</mark> `http://localhost:8080/chats/create`

공유 게시물을 작성하면 채팅방이 생성됩니다.

## 채팅방 목록 조회

## 채팅방 목록 조회

<mark style="color:blue;">`GET`</mark> `http://localhost:8080/chats`

## 채팅방 조회

## 채팅방 조회

<mark style="color:blue;">`GET`</mark> `http://localhost:8080/chats/{id}`

## 채팅방 삭제

## 채팅방 삭제

<mark style="color:red;">`DELETE`</mark> `http://localhost:8080/chats/{id}/delete`

공유가 종료되거나, 글 작성자가 게시물을 삭제한 경우, 글 작성자가 채팅방을 직접 삭제한 경우 채팅방이 삭제 됩니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://minseokgos-organization.gitbook.io/api/reference/api/chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
