> ## 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.

# API reference

> REST API reference for the Lanten platform.

The Lanten REST API lets you read and write tenants, units, landlords, contractors, and work orders programmatically.

## Base URL

```
https://app.lanten.ai/api/open/v1
```

## Authentication

All requests require an `Authorization` header with your API key:

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

See [Authentication](/guides/authentication) for details on generating a key.

## Response format

All responses are JSON. Successful responses return a `200` status code. Errors return an appropriate `4xx` or `5xx` status with a JSON body:

```json theme={null}
{
  "error": "Not found",
  "message": "Issue with id iss_01HXYZ does not exist"
}
```

## Resources

<Columns cols={3}>
  <Card title="Tenants" icon="person">
    Manage tenant records and contact details.
  </Card>

  <Card title="Units" icon="building">
    Manage property units and addresses.
  </Card>

  <Card title="Landlords" icon="home">
    Manage landlords (property owners).
  </Card>

  <Card title="Contractors" icon="wrench">
    Manage contractors (tradespeople).
  </Card>

  <Card title="Work orders" icon="triangle-exclamation">
    Create, retrieve, update, and manage maintenance work orders.
  </Card>
</Columns>
