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

# API Keys

> Generate and manage API keys for authentication

## Overview

API keys are required to authenticate your requests to the VoiceBot API. Each key inherits permissions from your organization role and access levels.

## Generating an API Key

<Steps>
  <Step title="Navigate to Settings">
    Go to [Settings > API & Integrations](/quickstart/settings)
  </Step>

  <Step title="Create Key">
    Click "Create API Key"
  </Step>

  <Step title="Name Your Key">
    Enter a descriptive name for your key
  </Step>

  <Step title="Save Securely">
    Copy and securely store the generated key
  </Step>
</Steps>

<Warning>
  API keys are only shown once at creation. Store them securely as they cannot be retrieved later.
</Warning>

## Using API Keys

Include your API key in the `X-API-Key` header:

```bash theme={null}
curl -X GET "https://api.voicebot.studio/api/v1/assistants" \
  -H "X-API-Key: YOUR_API_KEY"
```

<ResponseField name="X-API-Key" type="string" required>
  Your API key obtained from the Settings page
</ResponseField>

## Best Practices

<CardGroup cols={2}>
  <Card title="Secure Storage" icon="lock">
    Never commit API keys to version control. Use environment variables.
  </Card>

  <Card title="Key Rotation" icon="rotate">
    Regularly rotate keys and revoke unused ones.
  </Card>
</CardGroup>

For detailed information about API key management and permissions, refer to our [Settings documentation](/quickstart/settings).
