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

# Dench HTTP API: endpoints, auth, and usage

> Use the Dench v1 HTTP API for CRM, chat, memory, approvals, billing, integrations, and agent endpoints when the CLI is not an option.

Use the API when the CLI cannot run or when a backend service needs direct HTTP
access.

```txt theme={null}
https://www.dench.com/api/v1
```

The API mirrors server-backed CLI operations. Local session commands remain CLI
only because they modify the caller's machine.

## Interactive playground

Open the **API Reference** tab to try any endpoint live: enter your bearer token
once, fill in path/query/body parameters, send the request, and inspect the
response and schema. Every CRM, chat, routine, file, integration, search, image,
memory, approval, billing, and agent-config endpoint has its own page.

## Spec

```bash theme={null}
curl -sS https://www.dench.com/api/v1/openapi.json
```

## Fallback Guide

```bash theme={null}
curl -sL https://dench.com/references/API.md
```

## Example

```bash theme={null}
curl -sS https://www.dench.com/api/v1/context \
  -H "Authorization: Bearer $DENCH_API_KEY"
```
