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

# Getting Started

## API Overview

| Item               | Value                    |
| ------------------ | ------------------------ |
| **Base URL**       | `https://api.odinbot.io` |
| **API key header** | `x-api-key`              |

All request and response bodies are JSON unless stated otherwise.

## Getting your API key

1. Sign in to OdinBot and open **Settings**.

<figure><img src="/files/Z2LsRiybAOFq9BMexklY" alt="" width="563"><figcaption></figcaption></figure>

2. Click **Manage API keys**.

<figure><img src="/files/LRU35Sp3n3GuFkaufrtT" alt="" width="563"><figcaption></figcaption></figure>

3. In the pop-up, choose **+ Create a new API key**.

<figure><img src="/files/IZ8mF7Qj6uULRZl9q3OB" alt="" width="563"><figcaption></figcaption></figure>

4. Copy the key that appears and store it in a safe place.

<figure><img src="/files/V3f0UuIxLsHjNiEpF9HK" alt="" width="563"><figcaption></figcaption></figure>

## How to revoke access to your API key

1. From OdinBot's interface open **Settings**.

<figure><img src="/files/Z2LsRiybAOFq9BMexklY" alt="" width="563"><figcaption></figcaption></figure>

2. Click **Manage API keys**.

<figure><img src="/files/LRU35Sp3n3GuFkaufrtT" alt="" width="563"><figcaption></figcaption></figure>

3. In the pop-up, locate the **API key** for which you wish to revoke access, click the **Actions** dropdown button, and then click the **Revoke all access and delete** option.

<figure><img src="/files/UcoqgoRaXDmldJWWCcHw" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
Once the key is removed, any calls made using it will return a **401 Unauthorized error**.
{% endhint %}
