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

# Authentication

> Authorization and Client-Id headers

Every request to `/api/v1/uploading/*` must include two headers:

| Header          | Example   | Description                                                           |
| --------------- | --------- | --------------------------------------------------------------------- |
| `Authorization` | `<token>` | Access token (provided by **support** when your account is onboarded) |
| `Client-Id`     | `42`      | Numeric client identifier                                             |

Contact **support** to receive your access token, the list of entities enabled for API upload, and allowed IP addresses.

```bash theme={null}
curl https://<host>/api/v1/uploading/initialize-session \
  -H "Authorization: <token>" \
  -H "Client-Id: 42"
```

## Authentication errors

| HTTP  | Cause                                |
| ----- | ------------------------------------ |
| `401` | Invalid or missing token             |
| `400` | Missing `Client-Id` header           |
| `403` | Request from a disallowed IP address |

## API Reference playground

In **API Reference**, click **Authorize** once and enter `Authorization` and `Client-Id`. Headers will be attached to all requests automatically.
