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

# Authentication

> How to authenticate with the VoltView API

## Authentication

The VoltView API uses a VoltView API key for authentication.

Include your VoltView API key in the `x-api-key` header on every request:

```bash theme={null}
curl https://api.voltview.co.uk/v1/sites \
  -H "x-api-key: your_api_key_here"
```

## Error Responses

| Status             | Description                                |
| ------------------ | ------------------------------------------ |
| `401 Unauthorized` | Missing or invalid API key                 |
| `403 Forbidden`    | Authenticated but insufficient permissions |
