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

# Introduction

> This section contains common information about using the APIs

## Server URL

All the API endpoints are exposed under `https://api.myaifrontdeskdashboard.com/api/v1/`

## Authentication

All the protected API endpoints use `Basic` authentication.
Here's how you generate an authentication token:

#### For JavaScript:

```javascript theme={null}
btoa(`${username}:${password}`)
```

#### For Node.js:

```javascript theme={null}
Buffer.from(`${username}:${password}`).toString('base64')
```

#### Here's how you pass them in javascript:

```javascript theme={null}
await axios.post(
      `/your/protected/api/route`,
      {
        ...body
      },
      {
        headers: {
          Authorization: btoa(`${username}:${password}`),
        },
      }
    );
```

#### Authentication reference for API docs:

```yml theme={null}
security:
  - basicAuth: []
```
