> For the complete documentation index, see [llms.txt](https://cocktailcloud.gitbook.io/openapi-en/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/openapi-en/api-information/token.md).

# API Token Issuance

## Issue Token

1. Access \[External APIs] - \[APIs], then click on the <mark style="color:red;">"Issued"</mark> button.

<figure><img src="/files/KkvKCJETYEJU6KaeJz4T" alt=""><figcaption></figcaption></figure>

2. Fill in the \[Issue Token] window, fill in the required information, and then click the "Save" button.

<figure><img src="/files/gUslW3b8Bwa11d5vgNmP" alt=""><figcaption></figcaption></figure>

* The information to be filled in is as follows

| Items(\*is required) | Content                                                                                                                                                                                                                |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name\*               | <ul><li>Token name (non-editable)</li></ul>                                                                                                                                                                            |
| Description          | Description of the token                                                                                                                                                                                               |
| Expiration Date      | Indefinite or specific date designation                                                                                                                                                                                |
| Allow IP             | <ul><li>- List of allowed IP addresses<br>- CIDR notation is allowed<br>- Allow all IPs if left blank</li></ul>                                                                                                        |
| Block IP             | <ul><li>Blocked IP list</li><li>Enter the IP address and press Enter to complete the input</li><li>CIDR notation allowed</li><li>If the same IP is listed in the allowed IP list, it will be blocked instead</li></ul> |
| Request Limit        | <ul><li>No input or 0 indicates unlimited</li><li>Unlimited cannot be modified.</li></ul>                                                                                                                              |
| Range\*              | Click the checkbox to set the permission scope                                                                                                                                                                         |

3. Click \[OK] in the "Save?" popup window, then please check the issued token

## Copy Token

* <img src="/files/UWn5Kk61AGRcQRmEQ9pm" alt="" data-size="line">Click on the icon to copy the token.

<figure><img src="/files/MJUOUVFash1QRgs4VWod" alt=""><figcaption></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/openapi-en/api-information/token.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.
