> ## Documentation Index
> Fetch the complete documentation index at: https://docs.opai.today/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto Update Hypixel API

> Use Cookies to Automatically Update Your Hypixel API Key

Latest client has added auto generate API Key using your Cookie.

First, you need a [Hypixel Forum](https://hypixel.net/register/) account and verify email and Minecraft account refer the [API Key guide](/en/features/apikey).

Copy your Cookie from the browser. Press `F12` to open inspect element tools, then find the value of `xfNew_user` and copy it (double-click the value to open edit mode and copy).

After copying the cookie, use the following command in the client to set the Cookie:

```bash theme={null}
.cookie <xfNew_user>
```

Once set, run the client command `.update` to auto generate the API Key.

### Chrome

<img src="https://mintcdn.com/opai/PHIcLUCUq6FY5muu/images/cookie_chrome.png?fit=max&auto=format&n=PHIcLUCUq6FY5muu&q=85&s=7f804bdeb87cc7de20476499d16f787b" alt="1" width="966" height="533" data-path="images/cookie_chrome.png" />

### Firefox

<img src="https://mintcdn.com/opai/PHIcLUCUq6FY5muu/images/cookie_firefox.png?fit=max&auto=format&n=PHIcLUCUq6FY5muu&q=85&s=cfbdab572e33d278a61b248128885297" alt="1" width="888" height="536" data-path="images/cookie_firefox.png" />
