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

# Authentication

> Authenticate every request with your customer API key.

Every request to the VoiceDome® Forensic REST API is authenticated with a customer API key, sent in the `apikey` header.

```bash theme={null}
--header 'apikey: YOUR_CUSTOMER_API_KEY'
```

## Create a key

1. Sign in to the [VoiceDome® Forensic portal](https://voicedome.shama.ai).
2. Open **API access** and create a key with a label for your integration.
3. Copy the key. The full value is shown only once.

> [!WARNING]
>
> Keep the customer key private. Store it in your backend secret manager. Do not put it in a browser app, mobile bundle, or source control.

## Use it from code

```python Python theme={null}
import os
headers = {"apikey": os.environ["SHAMA_API_KEY"]}
```

```javascript Node.js theme={null}
const headers = { apikey: process.env.SHAMA_API_KEY }
```

A missing or invalid key returns `401`. See [Errors](https://docs.shama.ai/errors.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.