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

# API overview

> Understand the Mermail API resource areas and where to find the OpenAPI spec.

Mermail's app API is served under `/api/v1`. It uses first-party app sessions for console users. Cookie-authenticated mutating requests require CSRF protection.

The deployed app also exposes an OpenAPI document at:

```text theme={null}
/openapi.json
```

and:

```text theme={null}
/docs/openapi.json
```

<Info>
  The current OpenAPI document is intentionally small. Use it as the
  machine-readable starting point, and treat this page as the human index of
  implemented resource areas.
</Info>

## Health check

Use the status endpoint for a basic service check:

```bash theme={null}
curl https://console.mermail.app/api/status
```

## Payment-aware routes

Mermail includes agentic commerce discovery and payment metadata for some protected actions. See [Discovery](/api-reference/discovery).
