> For the complete documentation index, see [llms.txt](https://api-docs.marizma.games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.marizma.games/for-developers/api-keys.md).

# API Keys

## Generate API Key

{% hint style="info" %}
Only the Server Owner is able to (re)generate API keys.
{% endhint %}

{% hint style="danger" %}
**Treat your API key like a password** - your API key is unique to your server, and a bad actor could use it maliciously! Don't share your API key with anyone.
{% endhint %}

In order to generate your API key, scroll down to the bottom of your Server Settings and click **GENERATE API KEY**. This action will invalidate your previous API key, if any exist.

<figure><img src="/files/62z5JXJwYu1eYqAxWgHB" alt="" width="366"><figcaption></figcaption></figure>
