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

# Getting started

> Welcome to the Enso API guidelines. These best practices ensure your integration is secure, consistent, and easy to maintain.

## Base URL

All API requests should be made to:

```
https://api.getenso.ai/
```

## Pre-requisites

1. You must have an active admin account on Enso
2. You must have valid [API keys ](https://docs.getenso.ai/api-reference/api-keys)to authenticate with Enso

## **Authentication**

Enso uses **JWT-based Bearer Tokens** for API access.

### Exchange Credentials for a JWT Token

To begin using the API, use your client credentials to obtain a short-lived JWT token:

```http theme={null}
POST /auth/system-login
Content-Type: application/json
```

**Request body**

```json theme={null}
{
  "clientKey": "any",
  "clientSecret": "any"
}
```

**Successful Response**

```json theme={null}
{
  "status": "success",
  "message": "Success",
  "data": {
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5c..."
  }
}
```

### Make an authenticated API call

Include the token in the Authorization header:

```
Authorization: Bearer <your-jwt-token>
```
