# 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>


---

# 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://api-docs.marizma.games/for-developers/api-keys.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.
