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

# Authentication

> Learn how to authenticate your Famulor API requests using Bearer tokens. Generate API keys and securely access voice agent, lead, and campaign endpoints.

<Warning>
  **Famulor 1.0 API (legacy).** This page applies only to Famulor 1.0 (`app.famulor.de`) and is retained for legacy compatibility. For the current platform, use the [Famulor 2.0 API reference](/api-reference/introduction).
</Warning>

All Famulor API endpoints require authentication via API keys. Include your API key in every request using the Authorization header.

## Getting Your API Key

Follow these steps to create an API key:

1. Sign in to your account at [https://app.famulor.de](https://app.famulor.de)
2. Go to the API Keys section
3. Click "Create new API Key"
4. Save your API key securely - you won't be able to view it again

<Warning>
  Protect your API key like a password. Never expose it in public repositories,
  client-side code, or share it with unauthorized parties.
</Warning>

## Authentication Header

Add your API key to the `Authorization` header using Bearer token format:

```
Authorization: Bearer YOUR_API_KEY
```

Make sure to replace `YOUR_API_KEY` with your actual key.

## Request Example

Here's a sample cURL command showing proper authentication:

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

Remember to substitute `YOUR_API_KEY` with your real API key.

<Tip>
  Related pages: [Introduction](/api-v1/introduction) and [Authentication Guide](/api-v1/authentication), and [API Integration Examples](/api-v1/introduction).
</Tip>
