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

# HTTP API Authentication

### **Required Headers**

Every authenticated request requires these headers:

| Header                                                            | Value                | Description                                                                                                                                                                                                                                       |
| ----------------------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <Badge color="purple">Authorization</Badge>                       | `Bearer {api_key}`   | Provide the API key as a Bearer token.                                                                                                                                                                                                            |
| <Badge color="purple" iconType="solid">X-Client-Directory</Badge> | `{client_directory}` | `client_directory` is the client-specific directory segment in the application URL.<br />Example:<br />`logistics.smartcp.org/{client_directory}`<br />If the client directory is `acme`, the app URL would be:<br />`logistics.smartcp.org/acme` |
