> For the complete documentation index, see [llms.txt](https://cocktailcloud.gitbook.io/cocktail-cloud-online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cocktailcloud.gitbook.io/cocktail-cloud-online/api/api-issue.md).

# API 토큰 발급

## 1. API Token 생성

1\) API Token 발급을 위해 \[API 관리] - \[API 토큰 발급] 탭에서 우측 상단의 "+ 발급" 버튼을 클릭합니다.

<figure><img src="/files/KjkD3XP22EMxtGvpZj8A" alt=""><figcaption><p>[화면] API 관리의 API토큰 발급 기본 화면</p></figcaption></figure>

2\) API Token 발급을 위해 기본적인 정보를 작성합니다.

<figure><img src="/files/eFu9an9ZzRuEzVOIMlRu" alt=""><figcaption><p>[화면] API 토큰 발급 기본 정보 작성 화면</p></figcaption></figure>

<table><thead><tr><th width="159">항목(*는 필수)</th><th>설명</th></tr></thead><tbody><tr><td>이름*</td><td>- token 이름(수정 불가)</td></tr><tr><td>설명</td><td>- token에 대한 설명</td></tr><tr><td>만료일</td><td>- 무기한 또는 특정 날짜 지정</td></tr><tr><td>허용 IP</td><td>- 허용할 IP 목록<br>- CIDR 사용 가능<br>- 공백으로 적용 시 모든 IP 허용</td></tr><tr><td>차단 IP</td><td>- 차단할 IP 목록<br>- CIDR 사용 가능<br>- 허용 IP와 동일한 IP 입력 시 차단 IP로 적용</td></tr><tr><td>요청 제한</td><td>- 미입력 또는 0<br>(0은 무제한이며 해당 설정 시 수정 불가</td></tr><tr><td>범위*</td><td>체크 박스를 클릭하여 권한 범위 설정</td></tr></tbody></table>

3\) 저장이 완료되면 아래와 같이 ‘토큰’ 항목에 🔒 버튼을 클릭하여 토큰 복사합니다.

<figure><img src="/files/c7ia5t6f6TEhfo62roSu" alt=""><figcaption><p>[화면] API 토큰 복사 화면</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cocktailcloud.gitbook.io/cocktail-cloud-online/api/api-issue.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
