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

# API Reference

> Overview of the Tokn Ledger API endpoints

<Card title="Tokn Ledger  Endpoints" icon="leaf" href="https://github.com/khoded/docs/main/api-reference/openapi.json">
  View the OpenAPI specification file
</Card>

## Authentication

All API endpoints require an `api_key` to be sent in the header. Make sure to include this in every request:

```bash theme={null}
curl -H "api_key: YOUR_API_KEY_HERE" ...
```

## Base URL

For local development:

[http://localhost:4000](http://localhost:4000)

For production:

// TODO: publish prod env.

## API Endpoints

The Tokn Ledger API provides endpoints for managing assets, projects, wallets, and transactions. Here's an overview of the main resources:

<CardGroup cols={2}>
  <Card title="Assets" icon="coins" href="/essentials/assets">
    Create, list, and manage digital assets
  </Card>

  <Card title="Projects" icon="folder-tree" href="/essentials/projects">
    Organize your digital economy with projects
  </Card>

  <Card title="Wallets" icon="wallet" href="/essentials/wallets">
    Manage customer and system wallets
  </Card>

  <Card title="Transactions" icon="money-bill-transfer" href="/essentials/transactions">
    Process asset transfers between wallets
  </Card>
</CardGroup>

For detailed information on each endpoint, including request/response formats and examples, please refer to the specific resource pages linked above.
