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

# API Reference

> Referencia completa de todos los endpoints

## Base URL

```
https://api.example.com
```

## Autenticación

Todas las rutas usan el header `Authorization: Bearer {api_key}`.

Las API keys se generan desde el dashboard en **Settings → API Keys** o vía `POST /api/v1/api-keys`. Formato: `sk_live_...`

## Recursos

<CardGroup cols={2}>
  <Card title="Account" icon="user" href="/api-reference/endpoint/get-account">
    Gestión de la cuenta del SaaS
  </Card>

  <Card title="API Keys" icon="key" href="/api-reference/endpoint/create-api-key">
    Crear y administrar API keys
  </Card>

  <Card title="Tenants" icon="building" href="/api-reference/endpoint/create-tenant">
    Gestión de empresas que emiten documentos
  </Card>

  <Card title="Credentials" icon="shield" href="/api-reference/endpoint/get-credential-status">
    Certificados digitales y API keys del SII
  </Card>

  <Card title="Folios" icon="hashtag" href="/api-reference/endpoint/get-folio-inventory">
    Rangos de folios autorizados por el SII
  </Card>

  <Card title="DTE" icon="file-invoice" href="/api-reference/endpoint/emit-dte">
    Emisión y consulta de documentos tributarios
  </Card>

  <Card title="Webhooks" icon="bell" href="/api-reference/endpoint/add-webhook-endpoint">
    Notificaciones en tiempo real
  </Card>
</CardGroup>
