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

# Quickstart

> Make your first API request to Lanten in a few minutes.

## Prerequisites

* A Lanten account with API access
* An API key (see [Authentication](/guides/authentication))

## 1. Fetch your issues

Retrieve all open maintenance issues for your team:

```bash theme={null}
curl https://app.lanten.ai/api/open/v1/issues \
  -H "Authorization: Bearer YOUR_API_KEY"
```

You'll receive a list of issues, each with a status, priority, and linked tenant and unit.

## 2. Create a tenant

Add a tenant to your Lanten workspace:

```bash theme={null}
curl -X POST https://app.lanten.ai/api/open/v1/tenants \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Jane",
    "lastName": "Smith",
    "email": "jane.smith@example.com",
    "phoneNumber": "+447700900000"
  }'
```

## 3. Create an issue

Log a maintenance issue against a unit:

```bash theme={null}
curl -X POST https://app.lanten.ai/api/open/v1/issues \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Boiler not heating",
    "priority": 2,
    "unitId": "UNIT_ID",
    "tenantId": "TENANT_ID"
  }'
```

## Next steps

<Columns cols={3}>
  <Card title="API reference" icon="code" href="/api-reference/introduction">
    Explore all available endpoints.
  </Card>

  <Card title="Webhooks" icon="bolt" href="/guides/webhooks/overview">
    Get notified when issues change.
  </Card>

  <Card title="MCP server" icon="robot" href="/guides/mcp/overview">
    Connect AI tools to Lanten.
  </Card>
</Columns>
