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

# Authentication

> Learn how to authenticate your API requests

The Kalimna API uses API keys to authenticate requests. You need to include your API key in the header of each request you make to the API.

## Obtaining an API Key

To obtain an API key:

1. Log in to your Kalimna account at [https://app.kalimna.ai](https://app.kalimna.ai)
2. Navigate to the "API Keys" page
3. Click on the "Create new API Key" button
4. Copy your new API key and store it securely

<Warning>
  Keep your API key confidential and secure. Do not share it publicly or commit it to version control systems.
</Warning>

## Using the API Key

Include your API key in the `Authorization` header of each request:

```
Authorization: Bearer YOUR_API_KEY
```

Replace `YOUR_API_KEY` with your actual API key.

## Example Request

Here's an example of how to include the API key in a cURL request:

```bash theme={null}
curl -X GET "https://api.kalimna.ai/api/user/campaigns" \
     -H "Authorization: Bearer YOUR_API_KEY"
```

Replace `YOUR_API_KEY` with your actual API key when making requests.
