# チャンネル作成API

## **Request**

* Method : POST
* URI : /channel

```
POST
url : https://dashboard-api.gamechat.naverncp.com/v1/api/project/{projectId}/channel
Header : 'x-api-key: {API Key}'
Header : 'content-type: application/json'
data: '{
    "name":"#All"
}'
```

<table><thead><tr><th width="157">Header</th><th width="107">Type</th><th width="122">Required</th><th>Description</th></tr></thead><tbody><tr><td>x-api-key</td><td>String</td><td>O</td><td>ダッシュボード > 設定 > プロジェクトの設定 > API Key</td></tr></tbody></table>

<table><thead><tr><th width="160">Attribute</th><th width="107">Type</th><th width="119">Required</th><th>Description</th></tr></thead><tbody><tr><td>projectId</td><td>String</td><td>O</td><td>プロジェクトID(ダッシュボード > 設定 > プロジェクトの設定 > プロジェクトID)</td></tr><tr><td>name</td><td>String</td><td>O</td><td>チャンネル名</td></tr><tr><td>translation</td><td>Boolean</td><td>X</td><td>翻訳の可不可</td></tr><tr><td>uniqueId</td><td>String</td><td>X</td><td>任意に指定できる固有ID</td></tr></tbody></table>

## **Response**

```javascript
{
    "status": 1,
    "result": "1a51af0d-f464-4440-8ad6-ce69e0bdaba8"
}
```

<table><thead><tr><th width="159">Attribute</th><th width="138">Type</th><th>Description</th></tr></thead><tbody><tr><td>status</td><td>Int</td><td>結果値(1：成功、失敗はエラーコードを参考)</td></tr><tr><td>result</td><td>String</td><td>作成されたチャンネルID</td></tr></tbody></table>

## **Error code**

<table><thead><tr><th width="244">Code</th><th>Description</th></tr></thead><tbody><tr><td>-100</td><td>必須パラメータがない場合</td></tr></tbody></table>


---

# 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://docs.gamechat.me/basics/game-chat-v2/game-chat-ri-ben-yu/openapi/channeruapi.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.
