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

# Introduction

> An overview of the Apten API, including the base URL, authentication, and response codes.

## Base URL

Our API is built around a RESTful architecture. All requests are made to the base URL:

```
https://api.attent.app/v1
```

## Authentication

All API endpoints are authenticated using an API key in the header.
You may obtain an API key from the [Developer Portal](https://platform.attent.app/developer).
The API key is passed in the `x-api-key` header:

```json theme={null}
{
  "x-api-key": "your-api-key"
}
```

## Response Codes

HTTP response codes are used to indicate the success or failure of an API request. The following response codes are used:

| Code  | Description                                                        |
| ----- | ------------------------------------------------------------------ |
| `200` | Successful Request                                                 |
| `400` | Bad Request - check that input parameters are correctly formatted. |
| `403` | Forbidden - the supplied API key is missing or invalid.            |
| `404` | Not Found - the requested resource does not exist.                 |
| `429` | Too Many Requests - you have exceeded a quota or the rate limit.   |
| `500` | Server Error - this indicates an error within Apten servers.       |
