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

# Customer API: Authentication

> How to authenticate with the Otark Customer API using API keys

To interact with the Otark API, you must authenticate using an API key. This key is required for all API requests to ensure secure and authorized access.

<h2 id="obtaining-api-key">
  Obtaining an API Key
</h2>

1. Sign up or log in to your Otark account.
2. Navigate to the API section in your account settings.
3. Generate a new API key.
4. Store this key securely; it will be used for all your API requests.

[Get your API Key](https://app.otark.com/settings/api-keys)

<h2 id="using-api-key">
  Using the API Key
</h2>

The API key must be included in the header of every request. Here’s how to set it up:

```bash theme={null}
curl -X GET "https://api.otark.com/v1/assets" \
-H "X-Api-Key: YOUR_API_KEY"
```
